-
Notifications
You must be signed in to change notification settings - Fork 35
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
Org filter via label less helpers #2219
Org filter via label less helpers #2219
Conversation
We can still work with the text positioning and wording. I am simply showing that the suggestions will work, since the conversation had become a bit of a struggle. The main point here is to demonstrate the requested changes, suggesting a cleaner way to organize this feature while preserving the user experience. E.g. |
@brylie I don't mind about your suggestion. It allows saving a simple way. But is it okay that we change the design idea? |
@marla-singer a wireframe/mockup is generally a guide to get started. When we start implementing the feature, things will naturally change slightly. It is not always possible, or desirable, to implement code exactly as initially sketched - although we try to stick as close to the original intention. |
@brylie Just recommendation, no obligation? |
It is not a strict oblication. We try, as developers, to honor the spirit of the design (the intention). However, we sometimes deviate from the design when we encounter limitations or constraints the design did not conceive. |
Your suggestion is good, anyway. One feature must do one thing. Either show count or filter criterion |
Cool. I have posted two alternatives for the API Catalog changes (in the PR description). Which do you like better? |
@@ -1,11 +1,6 @@ | |||
<template name="apiFilteredBy"> | |||
{{# if selectedOption }} | |||
<span> | |||
{{# if showApisCount }} | |||
<strong> | |||
{{_ 'apiFilteredBy_text.apiCount' count=apisCount }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't forget to delete useless i18n tags
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't find that tag in the en.i18n.js file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The second one. But don't place it in |
In my opinion, this approach is better. |
Cool, @Nazarah also just reviewed it and will post her preference. |
@NNN Sure? |
In catalog view, the number of APIs can appear beside the "APIs" headline. |
Thanks @Nazarah. That corresponds with the current code in this branch: |
@brylie clean up i18n tag |
apisCount
Organization Profile
APIs Catalog
APIs Catalog alternative