Skip to content

Conversation

@seyfeb
Copy link
Collaborator

@seyfeb seyfeb commented Nov 22, 2020

I made some changes to improve the keyword filtering in the recipe-list view. With this PR

  • keywords show number of recipes that have the keyword assigned
  • keywords are ordered by the number
  • when keywords are selected, non-selectable keywords are moved to the end of the list
  • selected keyword are moved to the beginning of the list for easy discovery
  • a maximum size for the keyword-selection area is defined to prevent the page getting cluttered with many keywords. The area can be scrolled vertically to allow access to all keywords.

@sam-19 maybe you can review this PR?

@seyfeb seyfeb force-pushed the feature/improvedTagSelection branch from 485d5ce to f79e870 Compare November 22, 2020 23:16
@codecov
Copy link

codecov bot commented Nov 22, 2020

Codecov Report

Merging #408 (bee71fa) into master (d8f0f80) will not change coverage.
The diff coverage is 0.00%.

Impacted file tree graph

@@           Coverage Diff            @@
##             master    #408   +/-   ##
========================================
  Coverage      0.91%   0.91%           
  Complexity      414     414           
========================================
  Files            13      13           
  Lines          1307    1307           
========================================
  Hits             12      12           
  Misses         1295    1295           
Flag Coverage Δ Complexity Δ
integration 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
unittests 0.91% <0.00%> (ø) 0.00 <0.00> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ Complexity Δ
lib/Db/RecipeDb.php 0.00% <0.00%> (ø) 56.00 <0.00> (ø)

@christianlupus
Copy link
Collaborator

As this is mainly Vue-related stuff, I added sam as a reviewer. I will have a look once I find a few spare minutes.

@seyfeb seyfeb force-pushed the feature/improvedTagSelection branch from ba11f2c to 000506d Compare November 23, 2020 11:05
@seyfeb seyfeb marked this pull request as draft November 23, 2020 11:06
@seyfeb
Copy link
Collaborator Author

seyfeb commented Nov 23, 2020

I just converted this PR to a draft as I found, that the recipe search is not showing the correct keywords. I guess this is related to the php part, I’ll have a look at this later.

@seyfeb seyfeb force-pushed the feature/improvedTagSelection branch from 000506d to 2085a38 Compare November 23, 2020 17:09
@seyfeb seyfeb marked this pull request as ready for review November 23, 2020 17:10
Copy link
Collaborator

@christianlupus christianlupus left a comment

Choose a reason for hiding this comment

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

Seems good to me. I checked the visual representation and it seems to work well.

@christianlupus
Copy link
Collaborator

@sam-19 please give your statement. If you do not find the time, we can merge and fix bugs later if they happened...

@christianlupus christianlupus force-pushed the feature/improvedTagSelection branch from 2085a38 to dd7891c Compare December 6, 2020 17:52
@christianlupus
Copy link
Collaborator

This PR has conflicts with the lazy-loader feature recently added. @seyfeb sorry, you might need to update this as well.

@seyfeb seyfeb force-pushed the feature/improvedTagSelection branch from dd7891c to 6852396 Compare December 22, 2020 15:03
@christianlupus christianlupus force-pushed the feature/improvedTagSelection branch from 6852396 to 1285536 Compare December 28, 2020 16:36
@christianlupus christianlupus merged commit f99845e into nextcloud:master Dec 28, 2020
@seyfeb seyfeb deleted the feature/improvedTagSelection branch December 30, 2020 12:18
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.

2 participants