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

KAS-4683: Cabinet submissions #2129

Merged
merged 40 commits into from
Jul 16, 2024
Merged

KAS-4683: Cabinet submissions #2129

merged 40 commits into from
Jul 16, 2024

Conversation

stuycru and others added 13 commits June 10, 2024 09:14
…rontend-kaleidos into feature/KAS-4688-indieningen-visualiseren-op-agenda-en-dossier
- add agendaService in new form
- use record for submission status
- transition to route after saving submission
…indieningen-visualiseren-op-agenda-en-dossier

KAS-4688: Indieningen visualiseren op agenda en dossier
@tdn
Copy link
Contributor

tdn commented Jun 18, 2024

Remarks during pair review:

  • only show "principiële goedkeuring" and "definitieve goedkeuring" (default) for procedurestap type
  • no trash icon for secretarie@vlaanderen.be
  • select organisation mandatee by default and make them the only submitter
  • kabinetdossierbeheerder cannot modify submitter
  • don't show "Documenten toevoegen" or "Bulk wijzigen" when not editable
  • "Documenten toevoegen" and "Bulk wijzigen" should actually work when editable
  • order documents is reversed
  • edit functions enabled for secretarie/kabinetdossierbeheerder based on submission status
  • cache issue where submissions from one cabinet can be seen by others.
  • submissions should only be visible for own mandatee as submitter (read/write) + co-agenderingen (read-only)
  • datetime filters in submissions route don't work
  • Dossier is required (either pick one from the dropdown or add a title)

@tdn
Copy link
Contributor

tdn commented Jul 3, 2024

optimalisations:

  • indien korte titel leeg -> titel dossier nemen
  • bij nieuw document toevoegen in submission view -> refreshen
  • default access level intern regering + indien procedurestap beperkte toegang -> alle docs vertrouwelijk
  • optioneel: indien organisatie v.d. kabinetsdossierbeheerder geen mandataris heeft die kan indienen -> geen indieningen toelaten
  • optioneel: in document-viewer sidebar edit functies uitzetten als status niet "in behandeling" is
  • optioneel: bevestiging tekstje bij "verwijder indiening"

Copy link
Contributor

@tdn tdn left a comment

Choose a reason for hiding this comment

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

Pair review was ok. Some minor optimalisation possible

@sergiofenoll
Copy link
Member Author

optioneel: in document-viewer sidebar edit functies uitzetten als status niet "in behandeling" is

Deze laat ik atm as-is, we moeten anders in die doc view nogal veel data inladen om te achterhalen wat de status van de indiening is.

Copy link
Contributor

@ValenberghsSven ValenberghsSven left a comment

Choose a reason for hiding this comment

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

Review in progress.
Many of the logical changes have been made in my branched PR.

app/components/agenda/agendaitem/agendaitem-controls.js Outdated Show resolved Hide resolved
app/components/subcases/subcases-overview-header.js Outdated Show resolved Hide resolved
app/components/cases/cases-header.js Show resolved Hide resolved
app/components/cases/new-subcase.hbs Outdated Show resolved Hide resolved
app/components/cases/new-submission.hbs Show resolved Hide resolved
return role?.uri === CONSTANTS.MANDATE_ROLES.MINISTER_PRESIDENT;
});
this.submitter = ministerPresident ?? linkedMandatees.slice().at(0);
this.mandatees = this.submitter ? [this.submitter] : [];
Copy link
Contributor

Choose a reason for hiding this comment

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

there should always be a submitter? this makes it optional

Comment on lines +46 to +55
{{#if this.mayShowMinisterFilter}}
<div class="au-c-card au-o-box au-o-box--small">
<AuLabel>{{t "submitter"}}</AuLabel>
<Search::MinisterFilter
@selected={{this.submitters}}
@onChange={{set this "submitters"}}
@showPastMinisters={{true}}
/>
</div>
{{/if}}
Copy link
Contributor

Choose a reason for hiding this comment

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

we allow filtering, but we don't show the mandatee in the row (makes sense for cabinet)
Should admins be able to see it? will they even use this view?

Should cabinets be able to see submissions they are linked to but not as submitter?

app/templates/cases/submissions/submission.hbs Outdated Show resolved Hide resolved
app/templates/cases/submissions/submission.hbs Outdated Show resolved Hide resolved
@ValenberghsSven ValenberghsSven merged commit b2a7dd9 into development Jul 16, 2024
0 of 2 checks passed
@ValenberghsSven ValenberghsSven deleted the feature/KAS-4683 branch July 16, 2024 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants