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

Feature/create new rs versions #386

Merged
merged 13 commits into from
Dec 18, 2022
Merged

Conversation

lagartoverde
Copy link
Contributor

No description provided.

@lagartoverde lagartoverde added the enhancement New feature or request label Dec 9, 2022
@lagartoverde lagartoverde requested review from nvdk and elpoelma December 9, 2022 12:43
@lagartoverde lagartoverde self-assigned this Dec 9, 2022
@elpoelma elpoelma changed the base branch from master to feature/restore-old-rs December 9, 2022 15:49
Copy link
Contributor

@elpoelma elpoelma left a comment

Choose a reason for hiding this comment

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

Seems to work well. We could maybe add a pill to each version in the dropdown to indicate if they have been published or not.

@@ -12,6 +14,33 @@ export default class RegulatoryAttachmentsShowController extends Controller {
generateExportFromEditorDocument(this.model.editorDocument);
}

@task
*createNewVersion() {
Copy link
Member

Choose a reason for hiding this comment

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

this seems to duplicate quite a bit from https://github.com/lblod/frontend-gelinkt-notuleren/pull/385/files#diff-43a8e9478c35d069347a4336692d075b1fd351b364bb6cb2a579e13be02ba183R36 I'd move the logic to the document service and use that in both

Base automatically changed from feature/restore-old-rs to master December 15, 2022 12:03
Copy link
Member

@abeforgit abeforgit left a comment

Choose a reason for hiding this comment

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

works well

@abeforgit abeforgit merged commit efa4937 into master Dec 18, 2022
@abeforgit abeforgit deleted the feature/create-new-rs-versions branch December 18, 2022 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants