Skip to content

fix: Update Figma prototype link and text in footer #18059

Merged
olavflar merged 5 commits intomainfrom
update-footer-in-studio-dashboard
Mar 9, 2026
Merged

fix: Update Figma prototype link and text in footer #18059
olavflar merged 5 commits intomainfrom
update-footer-in-studio-dashboard

Conversation

@olavflar
Copy link
Copy Markdown
Contributor

@olavflar olavflar commented Mar 5, 2026

Point the design resource to the Figma community file and simplify the Norwegian copy for the dashboard design resource. Updated Resources.tsx to use the new Figma URL and modified src/Designer/frontend/language/src/nb.json to change the dashboard.resource_design_label and dashboard.resource_design_description to reference prototyping in Figma.

Description

before
image

After

Skjermbilde 2026-03-05 kl  13 51 16

Verification

  • Related issues are connected (if applicable)
  • Your code builds clean without any errors or warnings
  • Manual testing done (required)
  • Relevant automated test added (if you find this hard, leave it and we'll help out)

Summary by CodeRabbit

  • Documentation

    • Updated Norwegian localisation for the design/prototype resource in the dashboard, providing clearer, more concise label and description so users see "Prototype i Figma" and a shorter explanatory line in Norwegian.
  • Chores

    • Replaced the design resource link with a Figma community file URL so the dashboard now points to the community-hosted prototype resource.

Point the design resource to the Figma community file and simplify the Norwegian copy for the dashboard design resource. Updated Resources.tsx to use the new Figma URL and modified src/Designer/frontend/language/src/nb.json to change the dashboard.resource_design_label and dashboard.resource_design_description to reference prototyping in Figma.
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Mar 5, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: e9e59fef-e4bd-463a-a869-286ddcad3806

📥 Commits

Reviewing files that changed from the base of the PR and between 0f801c0 and 61b8f2f.

📒 Files selected for processing (1)
  • src/Designer/frontend/language/src/nb.json

📝 Walkthrough

Walkthrough

The pull request updates the dashboard design resource reference by changing the Figma URL in the Resources component and refines two Norwegian localization strings: the label changed to "Prototype i Figma" and the description to a concise sentence about creating Altinn service prototypes in Figma.

Changes

Cohort / File(s) Summary
Design Resource Updates
src/Designer/frontend/dashboard/components/Resources/Resources.tsx
Replaced the previous Figma file URL with a Figma community file URL for dashboard.resource_design.
Norwegian Localization Strings
src/Designer/frontend/language/src/nb.json
Updated dashboard.resource_design_label from "Design/brukertest" to "Prototype i Figma" and dashboard.resource_design_description to a concise Norwegian description about creating prototypes of Altinn services in Figma.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Poem

🐰 A hop through lines, a URL anew,
Norwegian words trimmed to fit the view,
Prototype in Figma, neat and bright,
I nibble bugs and fix the light! ✨

🚥 Pre-merge checks | ✅ 2
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change: updating a Figma prototype link and text in the footer, which aligns with the changeset modifications to Resources.tsx and nb.json.
Description check ✅ Passed The description provides a clear overview of changes, includes visual comparison via before/after images, and follows the template structure with all required sections addressed.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch update-footer-in-studio-dashboard

Tip

Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs).
Share your feedback on Discord.


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

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

@olavflar olavflar enabled auto-merge March 5, 2026 12:50
@olavflar olavflar changed the title fix: Update Figma prototype link and nb translations fix: Update Figma prototype link and text in footer Mar 5, 2026
@github-actions github-actions Bot added area/dashboard Area: Related to the dashboard application skip-releasenotes Issues that do not make sense to list in our release notes frontend solution/studio/designer labels Mar 5, 2026
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@src/Designer/frontend/dashboard/components/Resources/Resources.tsx`:
- Line 39: The inline Figma URL literal used in the resource map inside
Resources.tsx should be extracted to a descriptive constant (e.g.,
FIGMA_COMMUNITY_FILE_URL) instead of being hard-coded; create the constant at
the top of the module (or in the shared ext-urls helper and export it), replace
the url: 'https://www.figma.com/community/file/1344307804742953785' entry in the
resource map with that constant, and update any imports/usages to reference the
new named constant to keep links maintainable and follow the "no hard-coded
strings" guideline.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: cf971943-4982-4878-898a-443a790db7d2

📥 Commits

Reviewing files that changed from the base of the PR and between 6ba8edb and 0f801c0.

📒 Files selected for processing (2)
  • src/Designer/frontend/dashboard/components/Resources/Resources.tsx
  • src/Designer/frontend/language/src/nb.json

Comment thread src/Designer/frontend/dashboard/components/Resources/Resources.tsx
@olavflar olavflar added the squad/utforming Issues that belongs to the named squad. label Mar 5, 2026
@olavflar olavflar self-assigned this Mar 5, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.19%. Comparing base (eb9dd3d) to head (fcdf4d5).
⚠️ Report is 25 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #18059      +/-   ##
==========================================
- Coverage   95.20%   95.19%   -0.02%     
==========================================
  Files        2505     2507       +2     
  Lines       32588    32621      +33     
  Branches     3869     3871       +2     
==========================================
+ Hits        31025    31053      +28     
- Misses       1218     1224       +6     
+ Partials      345      344       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@olavflar olavflar moved this to 🔎 In review in Team Altinn Studio Mar 9, 2026
@olavflar olavflar linked an issue Mar 9, 2026 that may be closed by this pull request
@olavflar olavflar added the approve You approve this PR. Use when: - Small changes - Already agreed upon - Async review label Mar 9, 2026
auto-merge was automatically disabled March 9, 2026 13:22

Merge commits are not allowed on this repository

@olavflar olavflar merged commit 571805b into main Mar 9, 2026
9 checks passed
@olavflar olavflar deleted the update-footer-in-studio-dashboard branch March 9, 2026 13:23
@github-project-automation github-project-automation Bot moved this from 🔎 In review to ✅ Done in Team Altinn Studio Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approve You approve this PR. Use when: - Small changes - Already agreed upon - Async review area/dashboard Area: Related to the dashboard application frontend skip-releasenotes Issues that do not make sense to list in our release notes solution/studio/designer squad/utforming Issues that belongs to the named squad.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Outdated link to Figma from dashboard in studio

2 participants