Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it possible to link to a given home screen panel #5597

Merged
merged 1 commit into from Feb 4, 2023

Conversation

Abbe98
Copy link
Member

@Abbe98 Abbe98 commented Jan 31, 2023

This change makes it possible to link to given panel by its identifier.

To for example go straight to the language settings one could navigate to:
http://127.0.0.1:3333/#lang-settings

@Abbe98 Abbe98 marked this pull request as draft January 31, 2023 18:57
@Abbe98 Abbe98 marked this pull request as ready for review January 31, 2023 19:00
Copy link
Member

@elebitzero elebitzero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I like that if OR is refreshed it keeps the tab you are on. What about the next level of tabs in 'Create project'?

image

@Abbe98
Copy link
Member Author

Abbe98 commented Feb 3, 2023

What about the next level of tabs in 'Create project'?

@elebitzero I'm not sure, it gets tricky especially if one would like to deal with things like focus management (which I would like to follow up with).

@Abbe98 Abbe98 merged commit 0b3f0cf into OpenRefine:master Feb 4, 2023
Abbe98 added a commit to Abbe98/OpenRefine that referenced this pull request Apr 3, 2023
The ability to filter projects by tags used URL-hashes for managing state, this, however interferes with the home screen panel links introduced in OpenRefine#5597. This change therefor, moves the filtering state to query params.

Side effects:
 - you can now link to an tag filter
 - fixed some bugs caused by naming a tag "all"
Abbe98 added a commit to Abbe98/OpenRefine that referenced this pull request Apr 4, 2023
The ability to filter projects by tags uses URL-hashes for managing state, this, however interferes with the home screen panel links introduced in OpenRefine#5597. This change therefor, moves the filtering state to query params.

Side effects:
 -  you can now link to a tag filter
 - fixed some bugs caused by naming a tag "all"
 - ensured that OpenRefine's URL utility does not overwrite the native URL class.
Abbe98 added a commit to Abbe98/OpenRefine that referenced this pull request Apr 4, 2023
The ability to filter projects by tags uses URL-hashes for managing state, this, however interferes with the home screen panel links introduced in OpenRefine#5597. This change therefor, moves the filtering state to query params.

Side effects:
 -  you can now link to a tag filter
 - fixed some bugs caused by naming a tag "all"
 - ensured that OpenRefine's URL utility does not overwrite the native URL class.
Abbe98 added a commit to Abbe98/OpenRefine that referenced this pull request May 31, 2023
The ability to filter projects by tags uses URL-hashes for managing state, this, however interferes with the home screen panel links introduced in OpenRefine#5597. This change therefor, moves the filtering state to query params.

Side effects:
 -  you can now link to a tag filter
 - fixed some bugs caused by naming a tag "all"
 - ensured that OpenRefine's URL utility does not overwrite the native URL class.
Abbe98 added a commit that referenced this pull request Jun 7, 2023
)

The ability to filter projects by tags uses URL-hashes for managing state, this, however interferes with the home screen panel links introduced in #5597. This change therefor, moves the filtering state to query params.

Side effects:
 -  you can now link to a tag filter
 - fixed some bugs caused by naming a tag "all"
 - ensured that OpenRefine's URL utility does not overwrite the native URL class.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants