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

allowRemoteAccess undefined from state - was a getter #7006

Conversation

nucleogenesis
Copy link
Member

@nucleogenesis nucleogenesis commented Jun 8, 2020

Summary

I couldn't see my channels in Learn despite the settings saying that I should.

I found that one piece of the state in the boolean deciding whether to render the Channels and Recommended tabs was trying to get allowRemoteAccess from state but it was a getter.

Reviewer guidance

Pull regular app-support as it is now - try to view channels in Learn as any user.

Check this branch out then see your content appear in Learn.

References

Me.


Contributor Checklist

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

Testing:

  • 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

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

@nucleogenesis nucleogenesis requested a review from bjester June 8, 2020 19:52
@nucleogenesis nucleogenesis added P0 - critical Priority: Release blocker or regression TODO: needs review Waiting for review labels Jun 8, 2020
@nucleogenesis nucleogenesis added this to the android-mvp milestone Jun 8, 2020
Copy link
Member

@jamalex jamalex left a comment

Choose a reason for hiding this comment

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

Looks good to me, if it's working for you!

Copy link
Contributor

@indirectlylit indirectlylit left a comment

Choose a reason for hiding this comment

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

this is correct - it moved from being state to being a getter.

Any chance there are other instances? (cc @jredrejo)

@indirectlylit
Copy link
Contributor

test is failing, but I thought I fixed it in 6c3895d

@codecov
Copy link

codecov bot commented Jun 8, 2020

Codecov Report

Merging #7006 into app-support will not change coverage.
The diff coverage is 100.00%.

Impacted Files Coverage Δ
kolibri/core/assets/src/state/modules/session.js 86.20% <100.00%> (ø)

@indirectlylit indirectlylit merged commit 2df646d into learningequality:app-support Jun 9, 2020
@bjester
Copy link
Member

bjester commented Jun 9, 2020

@nucleogenesis This is not fixed for me. I tried the PEX and built fresh from your branch and I still go to the classes view instead of channels.

@indirectlylit indirectlylit modified the milestones: android-mvp, 0.14.0 Jul 6, 2020
@jonboiser jonboiser removed the TODO: needs review Waiting for review label Aug 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P0 - critical Priority: Release blocker or regression
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants