Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Feb 10, 2026

What is the goal of this PR and why is this important?

The main application is called "the Portal." Having story share functionality under share_portal creates naming confusion. This extracts story share into its own controller with clearer semantics.

How did you approach the change?

Controller separation:

  • Created StoryShareController with read-only index and show actions
  • Removed share_portal and show_share_portal from StoriesController
  • Routes changed: GET /stories/share_portalGET /stories/share

View structure:

  • Views moved: stories/share_portal.html.erbstory_share/index.html.erb
  • Layout renamed: layouts/share_portal.html.erblayouts/story_share.html.erb
  • Navbar partial: _share_portal_navbar.html.erb_story_share_navbar.html.erb
  • Route helpers updated: share_portal_stories_pathstory_share_index_path

Preserved:

  • All authorization and tracking behavior
  • Old files remain to avoid breaking existing links

Anything else to add?

The old share_portal files are intentionally retained to prevent breaking bookmarked URLs during transition.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

maebeale and others added 11 commits February 10, 2026 08:45
* Initial plan

* Redesign share_portal page with Tailwind CSS to match design

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

* Add full-width layout support for share_portal page

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

* Address code review feedback: add accessibility labels and use dynamic story links

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

* Create separate layout for story share portal with purple navigation

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

* Address code review feedback: remove redundant nav wrapper and duplicate link

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>
* Initial plan

* Add Telefon font, redesign navbar with 3 rows, update sector styling and overlays

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

* Refine font declarations and remove unused CSS variables

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

* Fix Tailwind class interpolation and improve scroll performance

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

* Use actual story sectors for category badges in What Others Are Reading

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>
* Initial plan

* Update story share portal navigation and layout to match design

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>
* Initial plan

* Update Story Share Portal layout per feedback

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>
Copilot AI and others added 2 commits February 10, 2026 14:11
…Controller

Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>
Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>
Copilot AI changed the title [WIP] Update story share portal implementation Extract story share functionality into dedicated StoryShareController Feb 10, 2026
Copilot AI requested a review from maebeale February 10, 2026 14:18
@maebeale maebeale force-pushed the story-share-portal branch 3 times, most recently from 9bc3fe9 to 6e5832b Compare February 12, 2026 00:19
Base automatically changed from story-share-portal to main February 12, 2026 00:26
@maebeale maebeale closed this Feb 12, 2026
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.

2 participants