Skip to content

DREF: Update logic for DREF status approved#2272

Open
shreeyash07 wants to merge 3 commits intodevelopfrom
fix/dref-approved-updates
Open

DREF: Update logic for DREF status approved#2272
shreeyash07 wants to merge 3 commits intodevelopfrom
fix/dref-approved-updates

Conversation

@shreeyash07
Copy link
Collaborator

Depends On

Changes

  • Update readOnly logic for the Dref Status approved in all DREF Forms
  • Add missing source of information field in form tab field list
  • Add missing tablistRef

This PR Ensures:

  • No typos or grammatical errors
  • No conflict markers left in the code
  • No unwanted comments, temporary files, or auto-generated files
  • No inclusion of secret keys or sensitive data
  • No console.log statements meant for debugging
  • All CI checks have passed

@changeset-bot
Copy link

changeset-bot bot commented Mar 13, 2026

🦋 Changeset detected

Latest commit: 709a516

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
go-web-app Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@shreeyash07 shreeyash07 force-pushed the fix/dref-approved-updates branch from c3dba09 to 0ea0273 Compare March 13, 2026 08:29
@shreeyash07 shreeyash07 marked this pull request as ready for review March 13, 2026 08:44
Comment on lines 152 to +153
const formContentRef = useRef<ElementRef<'div'>>(null);
const tabListRef = useRef<ElementRef<'div'>>(null);
Copy link
Collaborator

Choose a reason for hiding this comment

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

We already have formContentRef.


const handleTabChange = useCallback((newTab: DrefTabKey) => {
formContentRef.current?.scrollIntoView();
tabListRef.current?.scrollIntoView({ behavior: 'smooth' });
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why do we need to replace the formContentRef?

Comment on lines 119 to +120
const formContentRef = useRef<ElementRef<'div'>>(null);
const tabListRef = useRef<ElementRef<'div'>>(null);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Same as above.

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.

3 participants