-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[57405] Use Primer's PageHeader component on the WorkPackage list view #16708
base: dev
Are you sure you want to change the base?
[57405] Use Primer's PageHeader component on the WorkPackage list view #16708
Conversation
…geHeader above the work package table view. This is work in progress
…t-on-the-workpackage-list-view
…ers-pageheader-component-on-the-workpackage-list-view
…ers-pageheader-component-on-the-workpackage-list-view
@@ -1,3 +1,3 @@ | |||
<%= turbo_frame_tag "content-bodyRight" do %> | |||
<%= render(split_view_instance) %> | |||
<%= render(split_view_instance(view_type: params[:view_type], project: @project)) %> |
Check notice
Code scanning / Brakeman
Render path contains parameter value. Note
…ers-pageheader-component-on-the-workpackage-list-view
… the angular fullCopy route for quite some time already and nobody complained. So we decided to remove the splitCopy completely
1071b62
to
84b50fb
Compare
… from rails instead of Angular
…ers-pageheader-component-on-the-workpackage-list-view
…with the WP routes
3e720c0
to
52bab59
Compare
…ers-pageheader-component-on-the-workpackage-list-view
…om the WP page PageHeader
...d/src/app/features/work-packages/components/wp-baseline/baseline/baseline-entry.component.ts
Fixed
Show fixed
Hide fixed
...d/src/app/features/work-packages/components/wp-baseline/baseline/baseline-entry.component.ts
Fixed
Show fixed
Hide fixed
...d/src/app/features/work-packages/components/wp-baseline/baseline/baseline-entry.component.ts
Fixed
Show fixed
Hide fixed
...d/src/app/features/work-packages/components/wp-baseline/baseline/baseline-entry.component.ts
Fixed
Show fixed
Hide fixed
...d/src/app/features/work-packages/components/wp-baseline/baseline/baseline-entry.component.ts
Fixed
Show fixed
Hide fixed
...d/src/app/features/work-packages/components/wp-baseline/baseline/baseline-entry.component.ts
Fixed
Show fixed
Hide fixed
...d/src/app/features/work-packages/components/wp-baseline/baseline/baseline-entry.component.ts
Fixed
Show fixed
Hide fixed
...d/src/app/features/work-packages/components/wp-baseline/baseline/baseline-entry.component.ts
Fixed
Show fixed
Hide fixed
...d/src/app/features/work-packages/components/wp-baseline/baseline/baseline-entry.component.ts
Fixed
Show fixed
Hide fixed
...d/src/app/features/work-packages/components/wp-baseline/baseline/baseline-entry.component.ts
Fixed
Show fixed
Hide fixed
…ers-pageheader-component-on-the-workpackage-list-view
[ci skip]
8de597a
to
b30deb4
Compare
…t so that we can re-use it in the rails Primer::Dialog (wip) [ci skip]
…ers-pageheader-component-on-the-workpackage-list-view
import { | ||
ChangeDetectionStrategy, | ||
Component, | ||
HostBinding, | ||
Input, | ||
OnInit, | ||
} from '@angular/core'; |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note
Input, | ||
OnInit, | ||
} from '@angular/core'; | ||
import { BehaviorSubject, combineLatest } from 'rxjs'; |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note
import { | ||
debounceTime, | ||
distinctUntilChanged, | ||
filter, | ||
map, | ||
mergeMap, | ||
shareReplay, | ||
take, | ||
} from 'rxjs/operators'; |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note
} from 'rxjs/operators'; | ||
|
||
import { I18nService } from 'core-app/core/i18n/i18n.service'; | ||
import { HalResource } from 'core-app/features/hal/resources/hal-resource'; |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note
import { | ||
WorkPackageViewFiltersService, | ||
} from 'core-app/features/work-packages/routing/wp-view-base/view-services/wp-view-filters.service'; |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note
import { UntilDestroyedMixin } from 'core-app/shared/helpers/angular/until-destroyed.mixin'; | ||
import { HalResourceService } from 'core-app/features/hal/services/hal-resource.service'; | ||
import { CurrentProjectService } from 'core-app/core/current-project/current-project.service'; | ||
import { IProject } from 'core-app/core/state/projects/project.model'; |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note
import { | ||
SearchableProjectListService, | ||
} from 'core-app/shared/components/searchable-project-list/searchable-project-list.service'; | ||
import { IProjectData } from 'core-app/shared/components/searchable-project-list/project-data'; |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note
} from 'core-app/shared/components/searchable-project-list/searchable-project-list.service'; | ||
import { IProjectData } from 'core-app/shared/components/searchable-project-list/project-data'; | ||
|
||
import { insertInList } from './insert-in-list'; |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note
import { IProjectData } from 'core-app/shared/components/searchable-project-list/project-data'; | ||
|
||
import { insertInList } from './insert-in-list'; | ||
import { recursiveSort } from './recursive-sort'; |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note
|
||
import { insertInList } from './insert-in-list'; | ||
import { recursiveSort } from './recursive-sort'; | ||
import { calculatePositions } from 'core-app/shared/components/project-include/calculate-positions'; |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note
…ers-pageheader-component-on-the-workpackage-list-view
…ers-pageheader-component-on-the-workpackage-list-view
…ers-pageheader-component-on-the-workpackage-list-view
Ticket
https://community.openproject.org/projects/design-system/work_packages/57405/activity
What are you trying to accomplish?
Use the
Primer::OpenProject::PageHeader
andPrimer::OpenProject::SubHeader
in the WorkPackage table viewWhat approach did you choose and why
We have to do the full removal of uiRouter in one go as we'd otherwise face a lot of issues with the isolatedQuerySpace which we'd costly have to fix temporarily.
Todo
PageHeader
Title
Full screen button
More menu
SubHeader
Filter button
Create button
Routing
Other modules
General requirements
Open questions
Baseline button
Include projects button
Split screen button
Screenshots