Commit Graph

471 Commits

Author SHA1 Message Date
Sean Engelhardt
161873b68c Speeds up the animations.
Removed the on-transition-fade class
The current way to trigger animation seemed not reliable enough.
2019-06-14 15:19:52 +02:00
Emanuel Schütze
184bb17596
Merge pull request #4737 from tsiegleauq/virtual-scroll-components
Add virtual scrolling to tables
2019-06-14 11:31:09 +02:00
Sean Engelhardt
15e9ea898b Add virtual scrolling to tables
Replaces most mat-tables with tables using the NGrid library, supporting
extremly performant virtual scrolling.

The ListViewBaseComponent have been extremly simplified.
All list-view code is now mich shorter and way less repitative

The group list and the workflow list have not been altered.

**Works:**
- Fast virtual Scrolling without pagination
- Click Filter
- Search Filter
- Sorting
- Export filtered values (using click filters)
- Export sorted values in correct order
- Right-Click-new-tab
- Hiding/showing columns by permission and screen size
- Multi select
- Auto Updates in MultiSelectMode keep the correct items selected
- OsHeadBar shows the correct amount of data
- Restore scroll position after navigation
- Shared-Table Component
- Clean-Up base-list-view
- Motion List
- Motion Block List
- Motion Block Detail
- User List
- Agnnda List
- Assignment List
- MediaFile List
- Tag List

**TODO:**
- Formulate filter predicates
- LOS Badge autoupdate (change detection)
- Better ellipses in lists
- Horrizontal Scrolling, if the screen get's too small.
- Issues in the change detection
- Some Layouting

**BUG:**
- Using the seach filter prevents the sorting from working.
- NGrid currently has no way to get the filtered list
  using search filter. Thus, search-filtered list cannot
  be exported.
2019-06-14 11:18:54 +02:00
Emanuel Schütze
f66b0d1e98 Updated translations 2019-06-13 13:11:05 +02:00
GabrielMeyer
5e3f710e4d Adds a new component for icons
- An icon followed by text (or something else) can replaced by this new component, to verify a unified size and layout.
- Replaces also existing components with this new one.
2019-06-13 08:23:44 +02:00
FinnStutzenstein
bf9973a4a7 Subcategories 2019-06-12 14:37:19 +02:00
FinnStutzenstein
213fc30800 Update prettier 2019-06-12 08:01:33 +02:00
Emanuel Schütze
7fac04afa7 Updated Translations 2019-06-05 17:56:18 +02:00
Emanuel Schütze
6895b5db67
Merge pull request #4651 from MaximilianKrambach/assignmentBallots
Assignment ballots (and refactoring motion ballots)
2019-06-05 17:24:42 +02:00
Emanuel Schütze
b5287a4e57
Merge pull request #4656 from MaximilianKrambach/callListBulk
fixing bulk sort trees from list view
2019-06-05 16:35:41 +02:00
Emanuel Schütze
59e83736b6
Merge pull request #4761 from GabrielInTheWorld/utilities
Fixes the break of very long messages in 'mat-chip'
2019-06-05 16:34:18 +02:00
Emanuel Schütze
eb1f1c3b53
Merge pull request #4757 from GabrielInTheWorld/tile-layout
Enhances the tile view
2019-06-05 16:33:57 +02:00
Maximilian Krambach
79ef8e99c4 assignment poll ballot pdfs
- refactoring poll-pdf service
- adding ballots for AssignmentPolls
2019-06-05 16:30:54 +02:00
GabrielMeyer
9e4b90461d Enhances the tile view
- Adds subscriptions to the subscriptions-array from parent to clear them, after destroying the view
- Removes filter and sort service, if the selected view is the tile-view
Adds a second variable to hold the current selected view by user
- Increases the size of the badge
2019-06-05 15:45:18 +02:00
Emanuel Schütze
3338039627
Merge pull request #4765 from GabrielInTheWorld/hotfixAgendaList
Fixes error of 'listOfSpeakersUrl'
2019-06-05 15:02:37 +02:00
Emanuel Schütze
9651a058c3
Merge pull request #4763 from GabrielInTheWorld/tab-title
Sets the TabTitle
2019-06-05 14:49:02 +02:00
GabrielMeyer
403d82f781 Fixes the break of very long messages in 'mat-chip' 2019-06-05 14:46:42 +02:00
GabrielMeyer
23fe9f1a94 Sets the TabTitle
Motions, users and elections reset the title of a tab in their detail-view.
2019-06-05 12:19:18 +02:00
Maximilian Krambach
5f424aa7c1 tree sorting: fix sorting multiple items 2019-06-04 17:22:50 +02:00
Maximilian Krambach
37f0baf165 sorting tree view filters
- callList
 - refactored agendaSort
2019-06-04 17:21:38 +02:00
Emanuel Schütze
5e33c500c3
Merge pull request #4758 from GabrielInTheWorld/util-fixes
Hotfix for pagination in motion-list
2019-06-04 17:13:35 +02:00
Emanuel Schütze
3ea864c3f4
Merge pull request #4750 from MaximilianKrambach/multiMoveInCategory
Multi move motions in category
2019-06-04 17:10:52 +02:00
GabrielMeyer
b2a70f271b Fixes error of 'listOfSpeakersUrl' 2019-06-04 15:32:34 +02:00
Emanuel Schütze
eded9acc60
Merge pull request #4746 from GabrielInTheWorld/fix-hammer
Add amendments to Motion-PDF-Summary-Box
2019-06-04 15:14:31 +02:00
GabrielMeyer
514252a6ef Hotfix for pagination in motion-list 2019-06-03 16:22:53 +02:00
FinnStutzenstein
820bc214aa Little motion toolbar layout fix 2019-06-03 10:25:07 +02:00
Maximilian Krambach
6eeab5fc1e Multi move motions in category
- if there is a multiselection, a 'move to' button will be active
- TODO: better position/layout  for that button and dialogue
2019-06-03 09:29:29 +02:00
Emanuel Schütze
708de917e1 Updated translations 2019-05-31 11:09:31 +02:00
Sean Engelhardt
bbe966efa9 Add amendments to Motion-PDF-Summary-Box
Adds amendments to motion pdf summary box - only if the state of them accepts the merge into the parent motion.
Adds a new flatMap function to array.prototype (should be safe to use until
Array.flatMap made it into official JS. I expect it in ES 2019.

Refactors some PDF and ChangeReco / Amendment related code
2019-05-29 14:36:19 +02:00
FinnStutzenstein
658b1a360d Internal flag for motion blocks
- ServerSide
- Adds the 'internal'-flag to the edit view of motion blocks
2019-05-28 15:24:22 +02:00
Emanuel Schütze
8bf1dad10e
Merge pull request #4708 from GabrielInTheWorld/tile-layout
Adds a new view with tiles to the motion-list
2019-05-27 22:47:24 +02:00
GabrielMeyer
39d891f851 Adds a new view with tiles to the motion-list
- New components 'Tile' and 'GridLayout'
- Adds a grid-layout to the view
- The grid-layout can have an optional title section
2019-05-27 16:17:23 +02:00
Emanuel Schütze
7e2045aa76
Merge pull request #4709 from GabrielInTheWorld/utilities
Implements the export of assignment-list as pdf
2019-05-27 14:42:58 +02:00
Maximilian Krambach
ea0a605018 modified final version edit 2019-05-27 12:59:44 +02:00
GabrielMeyer
8a1588dd33 Implements the export of assignment-list as pdf
- Exporting the whole list of assignments
- Exporting a selected list of assignments
2019-05-27 12:32:05 +02:00
FinnStutzenstein
9f12763f8b Split AgendaItem and ListOfSpeakers
Server:
- ListOfSpeakers (LOS) is now a speprate model, containing of an id,
speakers, closed and a content_object.
- Moved all speaker related views from ItemViewSet to the new
ListOfSpeakersViewSet.
- Make Mixins for content objects of items and lists of speakers.
- Migrations: Move the lists of speakers from items to the LOS model.

Client:
- Removed the speaker repo and moved functionality to the new
ListOfSpeakersRepositoryService.
- Splitted base classes for agenda item content objects to items and
LOS.
- CurrentAgendaItemService -> CurrentListOfSpeakersSerivce
- Cleaned up the list of speakers component.
2019-05-24 08:21:59 +02:00
Emanuel Schütze
63daac7b65 Fixed motion mobile view on iOS. 2019-05-22 22:52:35 +02:00
GabrielMeyer
cd4e73b6d3 Adds import of tags to csv import 2019-05-21 14:58:46 +02:00
Emanuel Schütze
0a99c2b0f5
Merge pull request #4722 from FinnStutzenstein/motionTextNotRequiredForParagraphAmendments
Do not require the motion text for paragraph based amendments
2019-05-20 21:46:15 +02:00
FinnStutzenstein
11fd8c5762 Do not require the motion text for paragraph based amendments 2019-05-20 20:47:28 +02:00
Sean Engelhardt
850fcbe243 Rework sort and filter
More observable based, more scaleable filtering
based on an old branch of @FinnStutzenstein.

cleans some functions and provides some differend features.
2019-05-17 13:03:48 +02:00
Emanuel Schütze
93ef573e09
Merge pull request #4707 from FinnStutzenstein/fixTreeSorting
fix tree sorting
2019-05-16 14:10:14 +02:00
Norman Jäckel
cf29f97613 Added view for bulk category set and bulk motion block set.
Due to rebasing this PR, this are the appropriate authorships:
Server: @normanjaeckel and @FinnStutzenstein
Client: @MaximilianKrambach
2019-05-15 14:18:36 +02:00
FinnStutzenstein
10c329da8d fix tree sorting
Assigns the weight in the preorder traversal of the tree. Now one without every
object (e.g. missing motions/items) still have the correct sorting. Intorduces
the level attribute of items giving the amount of parents in the agenda. This
allows to reduce complexits in the client.
2019-05-15 14:14:32 +02:00
Finn Stutzenstein
b3c2b5f899
Merge pull request #4645 from FinnStutzenstein/renameManageRestriction
Rename the manage restriction field
2019-05-15 13:40:16 +02:00
Emanuel Schütze
7f5ec6a840
Merge pull request #4715 from CatoTH/OS3-final-version-in-csv
Support other text versions in CSV
2019-05-14 22:03:42 +02:00
Tobias Hößl
f8a56ed136
Support other text versions in CSV 2019-05-14 20:58:21 +02:00
Emanuel Schütze
2b163af5d7 Improved users PDF and CSV export
- PDF: use full_name (with structure_level and number) instead of short_name.
- CSV: add gender column
2019-05-14 20:20:21 +02:00
FinnStutzenstein
f9bac798aa Rename the manage restriction field
Renamed 'managers_only' to 'motions.can_maange' to adapt the (new) behavior of #4638. Closes #4643.
2019-05-14 16:02:59 +02:00
Emanuel Schütze
cef2e45b34
Merge pull request #4675 from tsiegleauq/personal-note-bug
Update personal note in motion
2019-05-08 20:55:37 +02:00