Skip to content

Commit

Permalink
add user doc and update topics description (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
steveoni authored Nov 9, 2023
1 parent fed5dd1 commit a26278f
Show file tree
Hide file tree
Showing 12 changed files with 75 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,15 @@ import { api } from '@/utils/api';
import Spinner from '@/components/_shared/Spinner';
import type { SearchInput } from '@/schema/search.schema';
import Pagination from '../_shared/Pagination';
import type { GroupTree } from '@/schema/ckan.schema';


function TeamProfile({ team }: { team: IRowProfile }) {

function TeamProfile({ team }: { team: GroupTree }) {
const description = team?.children?.length ? `${team?.children?.length} subtopics` : 'No subtopics'
const teamProfile = team as IRowProfile
teamProfile.description = description
return (
<div className='flex py-5 pl-4 sm:pl-8'>
<div className='flex py-5 pl-4 sm:pl-8' >
<RowProfile imgStyle='w-16 h-16 bg-[#F9F9F9] group-hover:bg-white' isPad profile={team} />
</div>
)
Expand Down
69 changes: 69 additions & 0 deletions docs/dashboard/Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
## DashBoard

`/dashboard` - to visit dashboard page


The left sidebar contains the login user details and accessible list of pages

-user profile-

![](./profile.png)


## Dashboard dataset Page `/dashboard/datasets`

Contain tabs of different categories of dataset

![](./datasetpage.png)


Each dataset item on hover contains a dropdown button to show it full details

![](./datasetdetails.png)

You can also Search, filter by `teams` and `topics`, also check paginated data

Note: for search, you can click enter key after typing the keyword

## Activity stream `/dashboard/activity-stream`

List all actions , like delete, update and creation of dataset, Teams and topics

![](./activitypage.png)

contains filter by activity type and pagination

![](./activityfilter.png)


## Teams `/dashboard/teams`

Display list of teams the user have access to

- contains search functionality and pagination

- On hover each Team profile , you can see the button `view teams` to go to that team page

![](./teams.png)

on hover

![](./teamhover.png)

## Topics `/dashboard/topics`

Display the list of topics user have access to

Each Topics has a drop down that display list of subtopics

![](./topics.png)


## Users `/dashboard/users`

Display list of users

Each user row contains dropdown to display list of teams user belongs to

![](./users.png)

Binary file added docs/dashboard/activity.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/dashboard/activityfilter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/dashboard/activitypage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/dashboard/datasetdetails.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/dashboard/datasetpage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/dashboard/profile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/dashboard/teamhover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/dashboard/teams.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/dashboard/topics.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/dashboard/users.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a26278f

Please sign in to comment.