1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-11 13:53:34 +00:00

[SM-455] add projects and secrets to dashboard page (#4722)

* add projects and secrets to dashboard

* add header title

* add section component

* only show latest projects and secrets

* reorganize view model; all view all link

* fix i18n; update table styles; add bitSortable to secrets table

* apply code reviews

* remove basePath input; add viewProjectEvent output

* fix style and merge issue

* fix route

* use absolute route with org id
This commit is contained in:
Will Martin
2023-02-16 09:18:17 -05:00
committed by GitHub
parent 55741445ec
commit 375c552623
13 changed files with 298 additions and 34 deletions

View File

@@ -7,12 +7,7 @@ import { TableComponent } from "./table.component";
@Component({
selector: "th[bitSortable]",
template: `
<button
class="tw-group"
[ngClass]="classList"
[attr.aria-pressed]="isActive"
(click)="setActive()"
>
<button [ngClass]="classList" [attr.aria-pressed]="isActive" (click)="setActive()">
<ng-content></ng-content>
<i class="bwi tw-ml-2" [ngClass]="icon"></i>
</button>
@@ -83,6 +78,9 @@ export class SortableComponent implements OnInit {
get classList() {
return [
"tw-group",
"tw-min-w-max",
// Offset to border and padding
"-tw-m-1.5",
"tw-font-bold",