GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(storybook): enhance chat interface with message display and styl… by shanzaeimran · Pull Request #342 · OpenResilienceInitiative/ORISO-Frontend

Conversation

@shanzaeimran

@shanzaeimran shanzaeimran commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

…ing updates

Pull Request

Click the Preview tab and select a PR template:

  • Default / Generic
  • Frontend
  • Backend
  • Documentation
  • Bug Fix
  • DevOps / Infrastructure
  • Architecture / Refactor
  • Hotfix

⚠️ Please select a template above by clicking on one of the links.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@shanzaeimran
feat(storybook): enhance chat interface with message display and styl…
75ff8bf
…ing updates
@coderabbitai

coderabbitai Bot commented Jul 1, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one) (1)
  • coderabbit

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 01bb989f-27a3-46d3-a613-0ed3e31a7bc4

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/figma-m3-ui-alignment-clean

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
  • X
  • Mastodon
  • Reddit
  • LinkedIn

Comment @coderabbitai help to get the list of available commands.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@shanzaeimran
shanzaeimran marked this pull request as draft July 1, 2026 06:39
@shanzaeimran
feat(chatMenu): introduce ChatMenuDropdown component and legal link m…
d231d09
…odal
@shanzaeimran shanzaeimran mentioned this pull request Jul 1, 2026
Align chat history, session menu, and composer UI with Figma; expand Storybook visual coverage #341
Closed
24 tasks
@shanzaeimran
shanzaeimran marked this pull request as ready for review July 1, 2026 13:08
sentry[bot]
sentry Bot reviewed Jul 1, 2026
View reviewed changes
Comment thread src/components/legalLinks/LegalLinkModal.tsx
Comment on lines +26 to +29
const content =
kind === 'privacy'
? tenant?.content?.privacy || FIGMA_LEGAL_CONTENT
: tenant?.content?.impressum || FIGMA_LEGAL_CONTENT;

@sentry sentry Bot Jul 1, 2026

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Bug: The LegalLinkModal ignores the passed url prop, showing placeholder text with unfilled tokens if tenant-specific content is missing instead of the actual legal document.
Severity: HIGH

Suggested Fix

Modify LegalLinkModal to use the provided url prop as a fallback. If tenant-specific content (e.g., tenant?.content?.privacy) is unavailable, the component should render the content from the url (e.g., in an iframe) or open the URL directly, rather than displaying the hardcoded placeholder.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent. Verify if this is a real issue. If it is, propose a fix; if not, explain why it's
not valid.

Location: src/components/legalLinks/LegalLinkModal.tsx#L26-L29

Potential issue: The `LegalLinkModal` component receives a `url` prop but ignores it for
rendering. Instead, it attempts to load content from `tenant.content.privacy` or
`tenant.content.impressum`. If this tenant-specific content is not configured, the
component falls back to a hardcoded placeholder string which contains unfilled tokens
like `{{USERNAME}}`. This prevents users from accessing the actual legal document at the
provided URL, which was the behavior before this change.

Did we get this right? 👍 / 👎 to inform future reviews.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread src/components/sessionsList/SessionsList.tsx
Comment on lines 432 to +435

const [sessionToolbarChip, setSessionToolbarChip] =
useState<SessionToolbarChipFilter | null>(() => {
if (type !== SESSION_LIST_TYPES.ENQUIRY) return null;
if (type !== SESSION_LIST_TYPES.ENQUIRY) return readChipFromUrl();

@sentry sentry Bot Jul 1, 2026

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Bug: An incorrect URL chip parameter on a MY_SESSION list causes an incorrect initial render, which is corrected after a flicker, because the chip type isn't validated on initialization.
Severity: MEDIUM

Suggested Fix

Update the useState initializer for sessionToolbarChip to validate that the chip read from the URL is appropriate for the current list type. If the chip is not valid for the list type, the state should be initialized to a default value like null to prevent incorrect filtering on the initial render.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent. Verify if this is a real issue. If it is, propose a fix; if not, explain why it's
not valid.

Location: src/components/sessionsList/SessionsList.tsx#L432-L435

Potential issue: For non-`ENQUIRY` session lists like `MY_SESSION`, the
`sessionToolbarChip` state is now initialized from the URL. If an inappropriate chip for
that list type (e.g., `?chip=nearby`) is in the URL, the list will be incorrectly
filtered on its initial render, potentially appearing empty. The filter is corrected in
a `useEffect` hook, causing a flicker and a correct render only after the initial
incorrect one.

Did we get this right? 👍 / 👎 to inform future reviews.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
This was referenced Jul 1, 2026
chore: integrate Storybook 10 and M3 chat surface work #351
Merged
Track Frontend Storybook 10 and M3 chat surface integration #352
Closed
@Storypapst

Storypapst commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

Tracked in #352. The combined integration path is draft PR #351.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

@coderabbitai review

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

shanzaeimran added 2 commits July 2, 2026 10:08
@shanzaeimran
Merge branch 'dev' of https://github.com/OpenResilienceInitiative/ORI…
5df5164
…SO-Frontend into feature/figma-m3-ui-alignment-clean
@shanzaeimran
Merge branch 'dev' of https://github.com/OpenResilienceInitiative/ORI…
a3c33dd
…SO-Frontend into feature/figma-m3-ui-alignment-clean
shazia-k
shazia-k approved these changes Jul 2, 2026
View reviewed changes
@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

@coderabbitai review

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@shanzaeimran
feat(messageStyles): update BG for incoming and outgoing messages; ad…
4acb5c0
…just typing animation timing
@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

@coderabbitai review

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Storypapst
Merge remote-tracking branch 'origin/dev' into HEAD
f1fec78
# Conflicts:
#	src/components/sessionsListItem/sessionsListItem.styles.scss
@shanzaeimran
shanzaeimran merged commit e0d54e7 into dev Jul 3, 2026
6 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@shanzaeimran
shanzaeimran deleted the feature/figma-m3-ui-alignment-clean branch July 3, 2026 04:56
@Storypapst Storypapst mentioned this pull request Jul 4, 2026
Migrate chat fully to Matrix and remove all Rocket.Chat (no crypto yet) #359
Merged
@Storypapst Storypapst mentioned this pull request Jul 22, 2026
feat(storybook): enhance chat interface with message display and styl… #649
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@shazia-k shazia-k shazia-k approved these changes
+1 more reviewer
@sentry sentry[bot] sentry[bot] left review comments
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@shanzaeimran @Storypapst @shazia-k
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.