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

Replace questions sidepanel #11345

Closed
wants to merge 3 commits into from
Closed

Replace questions sidepanel #11345

wants to merge 3 commits into from

Conversation

AllanOXDi
Copy link
Member

@AllanOXDi AllanOXDi commented Oct 2, 2023

Summary

This PR was separated from #11314 to simplify testing and speedup the development process.

Note : This should not be merged before #11314

References

#11016

Reviewer guidance

To ensure easy testing of this future, please test #11314 first then come back to this.
While following this figma design


Testing checklist

  • Contributor has fully tested the PR manually
  • If there are any front-end changes, before/after screenshots are included
  • Critical user journeys are covered by Gherkin stories
  • Critical and brittle code paths are covered by unit tests

PR process

  • PR has the correct target branch and milestone
  • PR has 'needs review' or 'work-in-progress' label
  • If PR is ready for review, a reviewer has been added. (Don't use 'Assignees')
  • If this is an important user-facing change, PR or related issue has a 'changelog' label
  • If this includes an internal dependency change, a link to the diff is provided

Reviewer checklist

  • Automated test coverage is satisfactory
  • PR is fully functional
  • PR has been tested for accessibility regressions
  • External dependency files were updated if necessary (yarn and pip)
  • Documentation is updated
  • Contributor is in AUTHORS.md

@github-actions github-actions bot added APP: Coach Re: Coach App (lessons, quizzes, groups, reports, etc.) SIZE: medium labels Oct 2, 2023
@AllanOXDi AllanOXDi marked this pull request as ready for review October 3, 2023 14:35
@MisRob
Copy link
Member

MisRob commented Oct 6, 2023

@AllanOXDi

To ensure easy testing of this future, please test #11314 first then come back to this.

Does this mean we should wait for review here until feedback in the aforementioned PR is addressed and it's merged?

@AllanOXDi
Copy link
Member Author

@AllanOXDi

To ensure easy testing of this future, please test #11314 first then come back to this.

Does this mean we should wait for review here until feedback in the aforementioned PR is addressed and it's merged?

Yes! I think that would be ideal .

margin-top: 1em;
}
.choose-answer-style{
background-color:#FAFAFA;
Copy link
Member

Choose a reason for hiding this comment

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

We don't hardcode colors into Kolibri (except a very few cases due to technical limitations). Tokens are used instead. This applies to other places with colors in this PR. Please see https://design-system.learningequality.org/colors/

:layout12="{ span: 1 }"
:layout8="{ span: 1 }"
>
<div :class="isSelected ? 'circular-border-active' : 'circular-border'">
Copy link
Member

Choose a reason for hiding this comment

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

How will we indicate that something is selected to screen readers?

>
<div class="bottom-bar-style">
<KButton
text="replace"
Copy link
Member

Choose a reason for hiding this comment

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

Seems like a missing translation string?

},
$trs: {
replaceQuestionText: {
message: 'Replace questions',
Copy link
Member

Choose a reason for hiding this comment

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

I thought we will be using the common translations approach for all new features, is there consensus about it? @marcellamaki

It's described here in more detail https://kolibri-dev.readthedocs.io/en/develop/i18n.html#common-string-modules

@MisRob
Copy link
Member

MisRob commented Oct 26, 2023

Thanks @AllanOXDi, lots of work here!

Due to the upcoming absences, I won't be able to do a complete review in a reasonable timeframe, apologies. If it's still valid the week after next, let me know and I can jump back in. At least, I'm leaving a few notes from a very brief skim through.

@MisRob MisRob requested review from MisRob and removed request for MisRob October 26, 2023 10:16
@marcellamaki
Copy link
Member

Thanks @MisRob. @AllanOXDi - I think some of Misha's point have already been addressed by your work in #11314 and rebasing here may resolve some of that feedback. Let me know if you want some help with that. Otherwise, let me know when you have updated, and I'll be happy to do another review since Misha will be out for some days next week. 🙂

@github-actions github-actions bot added DEV: dev-ops Continuous integration & deployment DEV: backend Python, databases, networking, filesystem... APP: Device Re: Device App (content import/export, facility-syncing, user permissions, etc.) APP: Learn Re: Learn App (content, quizzes, lessons, etc.) APP: User Re: User app (sign-in, sign-up, user profile, etc.) APP: Setup Wizard Re: Setup Wizard (facility import, superuser creation, settings, etc.) and removed DEV: dev-ops Continuous integration & deployment labels Oct 27, 2023
@github-actions github-actions bot removed DEV: backend Python, databases, networking, filesystem... APP: Device Re: Device App (content import/export, facility-syncing, user permissions, etc.) APP: Learn Re: Learn App (content, quizzes, lessons, etc.) APP: User Re: User app (sign-in, sign-up, user profile, etc.) APP: Setup Wizard Re: Setup Wizard (facility import, superuser creation, settings, etc.) labels Oct 27, 2023
@AllanOXDi AllanOXDi closed this by deleting the head repository Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
APP: Coach Re: Coach App (lessons, quizzes, groups, reports, etc.) SIZE: large SIZE: medium SIZE: very large
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants