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

Added remembering filter properties of lexicons grid in browser url #15942

Closed
wants to merge 2 commits into from
Closed

Added remembering filter properties of lexicons grid in browser url #15942

wants to merge 2 commits into from

Conversation

Ruslan-Aleev
Copy link
Collaborator

@Ruslan-Aleev Ruslan-Aleev commented Dec 19, 2021

What does it do?

  • Added the selected filter properties in the browser url.
  • Now the language in lexicons is equal to the current language of the manger panel, and not en by default.
  • Fixed the error loading the list of languages when resetting the filter.
    If you chose a different namespace (where there are fewer languages than in the manager), and then reset the filter, then even for namespace == core the list of languages will be from the previous namespace. This is true for 2.x and now.
  • Code fixes (pagination, comments).

lexicons

Why is it needed?

Allow to copy/paste the state of the filter with the browser url.

Related issue(s)/PR(s)

#15935
#15186
#15185
#15184
#15183
#15182
#15181
#15115
#14086

@cla-bot cla-bot bot added the cla-signed CLA confirmed for contributors to this PR. label Dec 19, 2021
@Ruslan-Aleev Ruslan-Aleev requested a review from Jako December 19, 2021 15:52
@Ruslan-Aleev Ruslan-Aleev added pr/review-needed Pull request requires review and testing. type-frontend Issues related to UI/UX issues, mostly about styles and frontend implementations on JavaScript. labels Dec 19, 2021
@Ruslan-Aleev Ruslan-Aleev added this to the v3.0.0-rc1 milestone Dec 19, 2021
@Ibochkarev Ibochkarev added pr/ready-for-merging Pull request reviewed and tested and ready for merging. and removed pr/review-needed Pull request requires review and testing. labels Dec 24, 2021
manager/assets/modext/workspace/lexicon/lexicon.grid.js Outdated Show resolved Hide resolved
manager/assets/modext/workspace/lexicon/lexicon.grid.js Outdated Show resolved Hide resolved
manager/assets/modext/workspace/lexicon/lexicon.grid.js Outdated Show resolved Hide resolved
manager/assets/modext/workspace/lexicon/lexicon.grid.js Outdated Show resolved Hide resolved
manager/assets/modext/workspace/lexicon/lexicon.grid.js Outdated Show resolved Hide resolved
manager/assets/modext/workspace/lexicon/lexicon.grid.js Outdated Show resolved Hide resolved
manager/assets/modext/workspace/lexicon/lexicon.grid.js Outdated Show resolved Hide resolved
manager/assets/modext/workspace/lexicon/lexicon.grid.js Outdated Show resolved Hide resolved
manager/assets/modext/workspace/lexicon/lexicon.grid.js Outdated Show resolved Hide resolved
manager/assets/modext/workspace/lexicon/lexicon.grid.js Outdated Show resolved Hide resolved
@opengeek opengeek removed the pr/ready-for-merging Pull request reviewed and tested and ready for merging. label Jan 7, 2022
@opengeek opengeek modified the milestones: v3.0.0-rc1, v3.1.0 Jan 11, 2022
@opengeek opengeek requested a review from theboxer December 27, 2022 16:28
@opengeek opengeek closed this Jan 26, 2023
@Ruslan-Aleev
Copy link
Collaborator Author

@opengeek Why are PRs closed?

@Ruslan-Aleev Ruslan-Aleev reopened this Jan 26, 2023
@opengeek opengeek removed the pr/ready-for-merging Pull request reviewed and tested and ready for merging. label Jan 26, 2023
@Ruslan-Aleev Ruslan-Aleev deleted the 3.x-feature-14086-lexicons branch January 26, 2023 20:55
@Ruslan-Aleev Ruslan-Aleev self-assigned this Aug 10, 2023
opengeek added a commit that referenced this pull request Mar 25, 2024
### What does it do?
Add reloading of lexicon entries for any namespace:

- Move the button up, it's was almost invisible.
- Added a pop-up window with confirmation, where the namespace, topic
and language are indicated.
- The name of the strings is now returned to the console, and not just
their amount.


![lexicons_reload](https://user-images.githubusercontent.com/12523676/208910173-49426e6e-a70a-4c55-9ced-4e1a0afdcb5a.gif)

p.s. In a good way, this PR should be improved and merged after this
(#15942), although the current
version is also working.

### Related issue(s)/PR(s)
#16333
#14442

---------

Co-authored-by: Jason Coward <jason@opengeek.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed CLA confirmed for contributors to this PR. type-frontend Issues related to UI/UX issues, mostly about styles and frontend implementations on JavaScript.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants