Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 13614 nextrecommendedaction in config column when adding a subform to select a subform from list #13827

Conversation

JamalAlabdullah
Copy link
Contributor

@JamalAlabdullah JamalAlabdullah commented Oct 20, 2024

Description

  • Added nextRecommendedAction when the subform has no layout set selected.
  • Prevented other configurations from being displayed until a layout set is selected.
  • Updated CSS for nextRecommendedAction.
  • Added and updated tests.
nextrecommendedAction.mp4

Related Issue(s)

Verification

  • 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)

Documentation

  • User documentation is updated with a separate linked PR in altinn-studio-docs. (if applicable)

@github-actions github-actions bot added area/ui-editor Area: Related to the designer tool for assembling app UI in Altinn Studio. solution/studio/designer Issues related to the Altinn Studio Designer solution. frontend labels Oct 20, 2024
@JamalAlabdullah JamalAlabdullah changed the title Feat/13614 nextrecommendedaction in config column when adding a subform to select a subform from list Feat: 13614 nextrecommendedaction in config column when adding a subform to select a subform from list Oct 20, 2024
@JamalAlabdullah JamalAlabdullah changed the title Feat: 13614 nextrecommendedaction in config column when adding a subform to select a subform from list feat:13614 nextrecommendedaction in config column when adding a subform to select a subform from list Oct 20, 2024
@JamalAlabdullah JamalAlabdullah changed the title feat:13614 nextrecommendedaction in config column when adding a subform to select a subform from list feat: 13614 nextrecommendedaction in config column when adding a subform to select a subform from list Oct 20, 2024
Copy link

codecov bot commented Oct 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.29%. Comparing base (4333644) to head (09b5a1e).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #13827   +/-   ##
=======================================
  Coverage   95.29%   95.29%           
=======================================
  Files        1653     1653           
  Lines       22024    22030    +6     
  Branches     2589     2594    +5     
=======================================
+ Hits        20988    20994    +6     
  Misses        790      790           
  Partials      246      246           

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

Copy link
Contributor

@lassopicasso lassopicasso left a comment

Choose a reason for hiding this comment

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

Well done @JamalAlabdullah 💪
This is a nice solution, I just has some comments 🙂

Copy link
Contributor

@lassopicasso lassopicasso left a comment

Choose a reason for hiding this comment

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

This looks good, @JamalAlabdullah 💪 Just one more small adjustment if you agree.

Copy link
Contributor

@lassopicasso lassopicasso left a comment

Choose a reason for hiding this comment

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

Superb! 🥳

Copy link
Member

@Jondyr Jondyr left a comment

Choose a reason for hiding this comment

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

Tested and works well 👍

Small UI nitpick however; The UI overflows when a layoutsetname is longer than the panel is wide:

Screenshots

image
image

Jondyr and others added 3 commits October 24, 2024 11:55
…olumn-when-adding-a-subform-to-select-a-subform-from-list
…adding-a-subform-to-select-a-subform-from-list' of https://github.com/Altinn/altinn-studio into feat/13614-nextrecommendedaction-in-config-column-when-adding-a-subform-to-select-a-subform-from-list
@JamalAlabdullah JamalAlabdullah merged commit 9ec0e3b into main Oct 24, 2024
10 checks passed
@JamalAlabdullah JamalAlabdullah deleted the feat/13614-nextrecommendedaction-in-config-column-when-adding-a-subform-to-select-a-subform-from-list branch October 24, 2024 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ui-editor Area: Related to the designer tool for assembling app UI in Altinn Studio. frontend solution/studio/designer Issues related to the Altinn Studio Designer solution.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NextRecommendedAction in config column when adding a subForm, to select a subform from list
3 participants