Skip to content

Homeroom navigation: Update navigator to use id, not slug#2589

Merged
kevinrobinson merged 4 commits into
masterfrom
patch/homeroom-navigator-id-not-slug
Sep 5, 2019
Merged

Homeroom navigation: Update navigator to use id, not slug#2589
kevinrobinson merged 4 commits into
masterfrom
patch/homeroom-navigator-id-not-slug

Conversation

@kevinrobinson

Copy link
Copy Markdown
Contributor

Following on #2588, this should have been part of that PR.

Who is this PR for?

K8 educators with homeroom access

What problem does this PR fix?

The dropdown on the homeroom page was still using slugs, after #2588 switched to id-only.

What does this PR do?

Fixes bug in making homeroom URL so it uses id.

Also adds Homeroom#grades so that there is a replacement for the deprecated #grade method, and sends it down to the UI. Updates the UI to show this as a suffix, which is helpful anyway and immediately useful for verifying.

Screenshot (if adding a client-side feature)

Screen Shot 2019-09-05 at 10 42 13 AM

Checklists

Which features or pages does this PR touch?

  • Homeroom

Does this PR use tests to help verify we can deploy these changes quickly and confidently?

  • Included specs for changes
  • Improved specs for existing code in need of better test coverage
  • Manual testing made more sense here

@kevinrobinson

Copy link
Copy Markdown
Contributor Author

selfie

@kevinrobinson kevinrobinson merged commit 037229b into master Sep 5, 2019
@kevinrobinson kevinrobinson deleted the patch/homeroom-navigator-id-not-slug branch September 5, 2019 14:59
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.

1 participant