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

[shots] Allow to set frames from previews #1474

Merged
merged 1 commit into from
Jul 2, 2024

Conversation

frankrousseau
Copy link
Contributor

Problem

There is no way to compute frames from previews information.

Solution

Add a modal in the Shots page that allows to compute the number of frames from the previews of a given task type.

methods: {
...mapActions([]),

addValue() {},
Copy link
Member

Choose a reason for hiding this comment

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

empty method

import ModalFooter from '@/components/modals/ModalFooter'

export default {
name: 'get-frames-from-previews-modal',
Copy link
Member

Choose a reason for hiding this comment

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

wrong component name

Suggested change
name: 'get-frames-from-previews-modal',
name: 'set-frames-from-task-type-previews-modal',

@@ -80,6 +80,10 @@ export default {
default: false,
type: Boolean
},
placeholder: {
default: '+ Task Type',
Copy link
Member

Choose a reason for hiding this comment

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

Prefer to use an i18n key as default:

      default: function () {
        return `+ ${this.$t('key')}`
      },

@frankrousseau frankrousseau merged commit 1b302ef into cgwire:master Jul 2, 2024
5 checks passed
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.

2 participants