Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@subdavis
Copy link
Contributor

@subdavis subdavis commented May 4, 2022

Things are getting easier now!

Summary

  • This pull request introduces the ability to create activity groups using multi-select.
  • It also fixes the issue with group type editing to make the group style editor work.
Screencast.2022-05-04.15.01.03.mp4

part of #850

@subdavis
Copy link
Contributor Author

subdavis commented May 6, 2022

Discussion

Some areas are still incomplete

  • I haven't worked out the UI for editing participation ranges yet. I think this might require customer feedback
  • The logic to actually edit the activity group members when multi-select changes is not hooked up. Save doesn't get triggered. This is more to demonstrate the UI.
  • I changed my mind about not being able to select multiple things at once. While editing a group, it seems useful to be able to select an individual track in order to identify it uniquely among other tracks in the group to signify which frame ranges (or activity participangs) you want to change.
  • Certain conveniences, like jumping to time stamp when group is selected and auto-scrolling the group list when a track is selected and stuff like that is not yet done. These will be polish tasks. Also, auto-switching to the track details tab when group edit mode is entered
  • Deletion hasn't been thought about yet. Probably want 2 different delete mechanisms: delete group only and delete group and all members.
  • I don't like the difference between clicking the track number (triggers selection) and clicking group number (triggers editing). I did this because "selection" of a group is useless. I think that the group editor sidebar can function as everything: showing what tracks are in it, letting you see all the frame ranges and edit the type, etc. Adding distinct selected and editing states for a group adds complexity for no reason IMO. Also, since you can't "right click" a group, there's no way to enter editing state without clicking some button on the group list item. Probably will end up making the ID number not clickable and adding a dedicated edit button for consistency.

Copy link
Collaborator

@BryonLewis BryonLewis left a comment

Choose a reason for hiding this comment

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

I think this can merge as is right now. Everything seems to be okay. The questions I have are minor and can probably be resolved in the next version.

I have a list of things that I think may want to be updated at some point in the future. This is to just keep track of them.

  • Selecting a single track when items overlap for selection is difficult when adding new groups. A click will always sequentially select all trackIds if they overlap instead of one and require another click for another selection.
  • Scrolling to the selected GroupId
  • Tooltip hover in Group list should probably specify "GroupId" and not "TrackId". (I like clicking on it selects the group
  • Selecting a group should jump to the beginning of the group timeline if not already within the timeline, much like how track selection works
  • There are some closely overlapping tracks and I believe that the Layer Tooltip (toggled on in the display settings like boxes/polygons) should probably include group information as well as track information
  • I kind of feel while having a group selected the existing of the mode should include clicking on an empty area. I get that it's a bit harder because after selecting a group it is automatically in edit mode.

Comment on lines +206 to +210
<TypePicker
:value="trackType"
v-bind="{ lockTypes, readOnlyMode, allTypes, selected }"
@input="track.setType($event)"
/>
Copy link
Collaborator

Choose a reason for hiding this comment

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

if its secondary or merging should the type picker be disabled?

v-mousetrap="[
{ bind: 'a', handler: swapTabs },
{ bind: 'm', handler: doToggleMerge },
{ bind: 'g', handler: () => { groupAdd(); data.currentTab = 'attributes'; } },
Copy link
Collaborator

Choose a reason for hiding this comment

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

Probably add this to the keyboard/mouse shortcuts page.

font-weight: bolder;
text-decoration: underline;
}
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

small newline to the end of the file

@subdavis
Copy link
Contributor Author

subdavis commented May 9, 2022

Thanks Bryon, I'll address these in the next PR.

@subdavis subdavis merged commit 1b6314f into 1.9 May 9, 2022
@subdavis subdavis deleted the edit-activity-groups branch May 9, 2022 15:59
subdavis added a commit that referenced this pull request May 19, 2022
* WIP Group Creation

* Edit type and select.  Refactor TypePicker

* Progress toward creation and editing of activity groups

* Group membership add and remove
subdavis added a commit that referenced this pull request May 25, 2022
* Activity Group Support (#1205)

* Activity Groups

* Move Image Enhancement

* wip

* GroupItem

* Refactor Filter Controls

* Complete backend support for activity groups with migrations

* Refactor of GroupStore, Filter Controls, Filter List

* Group filtering support

* test fixes

* sidebar

* sidebar update

* Respond to comments

* Fix tests

* fixing final test (#1234)

Co-authored-by: BryonLewis <[email protected]>

* Release 1.9.0-beta.1

* Group Creation (#1237)

* WIP Group Creation

* Edit type and select.  Refactor TypePicker

* Progress toward creation and editing of activity groups

* Group membership add and remove

* Update package.json

* Complete Activity Group Support (#1238)

* Progress on activity group editing

* Progress on correct editing behavior

* Finalize editing

* Documentation updates

* Update documentation

* Add shortcut docs

* Wip

* KPF import support desktop

* icon

* Fix docs add tests

* whatdo

* Remove multi-file inputs

* Upgrade node for electron-builder

* Respond to comments

* Backend fixes

* Add readOnlyMode to TypePicker in GroupList

* Update package.json

* Include buildResources

* Server/kpf support v2 (#1235)

* Work in progress

* Finalize KPF support

* Fully move to new annotation schema in all parsers

* Liint fix

* Add extra meta in zip extraction

* Fix

* Fix merge conflict

Co-authored-by: BryonLewis <[email protected]>
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