Skip to content

[front] Mobile visibility toggle for custom sidenav minds#4915

Ben requested to merge feat/mob-vis-toggle-m4915 into master

Ticket(s) / Related Merge Requests

Summary of Changes

Add mobile visibility toggle to custom nav configuration.

Testing Considerations

Bound to https://fausto.oke.minds.io

This change does NOT impact whether or not mobile shows the options, just the settings.

  • Enabled toggles can be toggled on and off and changes persist.
  • For mob, boost, membership and admin cannot be toggled.
  • For web, admin cannot be toggled.
  • Custom items can be toggled on and off.

Deployment Considerations

ALTER TABLE `minds_custom_navigation`
    ADD visible_mobile boolean DEFAULT true
    AFTER visible;

Regression Scope

Custom navigation system.

Platform Affected (web, mobile, etc)

Web.

Developer Testing Completed

manual, unit (phpspec), unit (jasmine/karma).

Screenshots / Screen Recording

Toggling and state

simplescreenrecorder-2024-06-05_18.40.22

Does this impact

  • Localization
  • Dark/light mode
  • Guest mode

Definition of Done Checklist

  • The Acceptance Criteria has been met
  • Code is tested: Testing includes unit/spec, E2E/automated and manual testing
  • Merge requests description has been filled out
Edited by Ben

Merge request reports