-
Notifications
You must be signed in to change notification settings - Fork 738
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
0.18: Groups view updates #12696
0.18: Groups view updates #12696
Conversation
This is a string used in various places, which I noticed while needing to add it to address learningequality#12678 and not finding a common definition for the message.
This permits me to add the new description for the plan page and also gives makes it easy enough to include the link/button Groups has for "Learn more" next to the description text
@@ -17,6 +17,11 @@ export const coreStrings = createTranslator('CommonCoreStrings', { | |||
context: | |||
'Button to cancel an action and return to the previous page. Usually this is the opposite of the save button which saves some piece of information.', | |||
}, | |||
learnMoreAction: { |
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.
Also defined in
- MissingresourceAlert (kolibri-common)
- DataPage (facility)
- ProfilePage/index (user_profile)
Could update those in this PR, make a follow-up issue, or just revert this change and add this same string to the GroupsPage component
Build Artifacts
|
Hi @nucleogenesis, I was able to identify the following issues, which I can also report as follow-ups:
delete.a.group.mp4
|
Thanks @pcenov your 2) item I will address here. For 1) and 3) these are great feedback. I also found it odd that there was even a "this group doesn't exist" message there rather than sending us back to the groups page. As for changing that string, I can update it quickly here unless @marcellamaki thinks this should be a part of some upcoming strings/i18n review |
@nucleogenesis for 3) are we currently using the "already enrolled in this class".... as an "error" string for class enrollments? might need to be an additional string, rather than a change? |
…been removed see 805dc34 for last usage removed
This string is used only for referencing this page which is about enrolling learners in a particular group, not the class
@pcenov I went to fix (2) but ended up fixing all of them. @marcellamaki that "All learners..." is only used on that component, so I've updated it from Additionally, I've added a line that returns the user to the Groups page if they delete the group from that Group's member list page. |
<KIcon | ||
icon="classes" | ||
class="class-name-icon" | ||
/> |
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 did not use a KLabeledIcon here because the classes icon is, by default, far too small compared to the text.
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.
Thanks @nucleogenesis - I confirm that the reported issues are fixed now - everything is implemented as specified in #12678
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.
Thanks @nucleogenesis, looks great. I added one tiny non-blocking suggestion for comment phrasing, but fine to leave as-is if you think it's clearer
default: | ||
// eslint-disable-next-line no-console | ||
console.warn( | ||
`GroupRow: Tried to handleSelection of ${selectedOption}, but that isn't being handled.`, |
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.
that isn't being handled
totally a nit and not blocking, but, this means there's no matching case, right? I think if you were to say that, instead of "isn't being handled", it would be clearer
Summary
2024-10-02.16-05-03.mp4
References
Closes #12678
Reviewer guidance