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

fix: certain texts get unselected on keystroke #1033

Merged
merged 1 commit into from
Sep 4, 2023

Conversation

Garfield-fr
Copy link
Contributor

Code review check list

  • Commit message template compliance.
  • Commit message without typos.
  • File names.
  • Functions names.
  • Functions docstrings.
  • Unnecessary commited files?
  • Cypress tests successful?

@Garfield-fr Garfield-fr self-assigned this Aug 29, 2023
@github-actions github-actions bot added f: professional ui Professional interface f: search labels Aug 29, 2023
@Garfield-fr Garfield-fr force-pushed the zub-unselected-text-fix branch 2 times, most recently from da65662 to e830cc6 Compare August 29, 2023 07:24
/** process provision activity publications */
private processProvisionActivityPublications() {
const { provisionActivity } = this.record.metadata;
if (undefined === provisionActivity) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not if (provisionActivity === undefined)?

* @param element: the element to check
* @return True if element isn't a 'Publication', False otherwise
*/
filterNotPublicationProvisionActivity(element: any): boolean {
Copy link
Contributor

Choose a reason for hiding this comment

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

Seems not used.


@Input() record: any;

cartographicAttributes: any[] = [];
Copy link
Contributor

Choose a reason for hiding this comment

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

Missing "bored" docstring...

@Garfield-fr Garfield-fr force-pushed the zub-unselected-text-fix branch from e830cc6 to 463cd4d Compare August 30, 2023 05:55
@PascalRepond PascalRepond merged commit f9a4877 into rero:staging Sep 4, 2023
@Garfield-fr Garfield-fr deleted the zub-unselected-text-fix branch October 10, 2023 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
f: professional ui Professional interface f: search
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UI: certain texts get unselected on keystroke
4 participants