Skip to content
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

Refactor css dor dynamic dropdown #3424

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
refactor css dor dynamic dropdown
hars-21 committed Jan 25, 2025
commit 28b15999b8aaee2a3a798e910206db72cbf3da67
8 changes: 5 additions & 3 deletions docs/docs/auto-docs/App/functions/default.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
[Admin Docs](/)
[Admin Docs](/)**Docs**

***

# Function: default()

> **default**(): `JSX.Element`
Defined in: [src/App.tsx:74](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/App.tsx#L74)

This is the main function for our application. It sets up all the routes and components,
defining how the user can navigate through the app. The function uses React Router's `Routes`
and `Route` components to map different URL paths to corresponding screens and components.
@@ -26,3 +24,7 @@ and `Route` components to map different URL paths to corresponding screens and c
`JSX.Element`

The rendered routes and components of the application.

## Defined in

[src/App.tsx:74](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/App.tsx#L74)
6 changes: 4 additions & 2 deletions docs/docs/auto-docs/Constant/constant/variables/AUTH_TOKEN.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
[Admin Docs](/)
[Admin Docs](/)**Docs**

***

# Variable: AUTH\_TOKEN

> `const` **AUTH\_TOKEN**: `""` = `''`
Defined in: [src/Constant/constant.ts:1](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/Constant/constant.ts#L1)
## Defined in

[src/Constant/constant.ts:1](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/Constant/constant.ts#L1)
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
[Admin Docs](/)
[Admin Docs](/)**Docs**

***

# Variable: BACKEND\_URL

> `const` **BACKEND\_URL**: `string` = `process.env.REACT_APP_TALAWA_URL`
Defined in: [src/Constant/constant.ts:2](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/Constant/constant.ts#L2)
## Defined in

[src/Constant/constant.ts:2](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/Constant/constant.ts#L2)
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
[Admin Docs](/)
[Admin Docs](/)**Docs**

***

# Variable: REACT\_APP\_BACKEND\_WEBSOCKET\_URL

> `const` **REACT\_APP\_BACKEND\_WEBSOCKET\_URL**: `string`
Defined in: [src/Constant/constant.ts:6](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/Constant/constant.ts#L6)
## Defined in

[src/Constant/constant.ts:6](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/Constant/constant.ts#L6)
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
[Admin Docs](/)
[Admin Docs](/)**Docs**

***

# Variable: REACT\_APP\_CUSTOM\_PORT

> `const` **REACT\_APP\_CUSTOM\_PORT**: `string` = `process.env.PORT`
Defined in: [src/Constant/constant.ts:5](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/Constant/constant.ts#L5)
## Defined in

[src/Constant/constant.ts:5](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/Constant/constant.ts#L5)
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
[Admin Docs](/)
[Admin Docs](/)**Docs**

***

# Variable: REACT\_APP\_USE\_RECAPTCHA

> `const` **REACT\_APP\_USE\_RECAPTCHA**: `string` = `process.env.REACT_APP_USE_RECAPTCHA`
Defined in: [src/Constant/constant.ts:4](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/Constant/constant.ts#L4)
## Defined in

[src/Constant/constant.ts:4](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/Constant/constant.ts#L4)
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
[Admin Docs](/)
[Admin Docs](/)**Docs**

***

# Variable: RECAPTCHA\_SITE\_KEY

> `const` **RECAPTCHA\_SITE\_KEY**: `string` = `process.env.REACT_APP_RECAPTCHA_SITE_KEY`
Defined in: [src/Constant/constant.ts:3](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/Constant/constant.ts#L3)
## Defined in

[src/Constant/constant.ts:3](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/Constant/constant.ts#L3)
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
[Admin Docs](/)
[Admin Docs](/)**Docs**

***

# Variable: CREATE\_ACTION\_ITEM\_CATEGORY\_MUTATION

> `const` **CREATE\_ACTION\_ITEM\_CATEGORY\_MUTATION**: `DocumentNode`
Defined in: [src/GraphQl/Mutations/ActionItemCategoryMutations.ts:11](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/ActionItemCategoryMutations.ts#L11)

GraphQL mutation to create an action item category.

## Param
@@ -21,3 +19,7 @@ Disabled status of the ActionItemCategory.
## Param

Organization to which the ActionItemCategory belongs.

## Defined in

[src/GraphQl/Mutations/ActionItemCategoryMutations.ts:11](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/ActionItemCategoryMutations.ts#L11)
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
[Admin Docs](/)
[Admin Docs](/)**Docs**

***

# Variable: UPDATE\_ACTION\_ITEM\_CATEGORY\_MUTATION

> `const` **UPDATE\_ACTION\_ITEM\_CATEGORY\_MUTATION**: `DocumentNode`
Defined in: [src/GraphQl/Mutations/ActionItemCategoryMutations.ts:35](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/ActionItemCategoryMutations.ts#L35)

GraphQL mutation to update an action item category.

## Param
@@ -21,3 +19,7 @@ Updated name of the ActionItemCategory.
## Param

Updated disabled status of the ActionItemCategory.

## Defined in

[src/GraphQl/Mutations/ActionItemCategoryMutations.ts:35](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/ActionItemCategoryMutations.ts#L35)
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
[Admin Docs](/)
[Admin Docs](/)**Docs**

***

# Variable: CREATE\_ACTION\_ITEM\_MUTATION

> `const` **CREATE\_ACTION\_ITEM\_MUTATION**: `DocumentNode`
Defined in: [src/GraphQl/Mutations/ActionItemMutations.ts:14](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/ActionItemMutations.ts#L14)

GraphQL mutation to create an action item.

## Param
@@ -33,3 +31,7 @@ Event to which the ActionItem is related.
## Param

Hours allotted for the ActionItem.

## Defined in

[src/GraphQl/Mutations/ActionItemMutations.ts:14](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/ActionItemMutations.ts#L14)
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
[Admin Docs](/)
[Admin Docs](/)**Docs**

***

# Variable: DELETE\_ACTION\_ITEM\_MUTATION

> `const` **DELETE\_ACTION\_ITEM\_MUTATION**: `DocumentNode`
Defined in: [src/GraphQl/Mutations/ActionItemMutations.ts:88](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/ActionItemMutations.ts#L88)

GraphQL mutation to delete an action item.

## Param

Id of the ActionItem to be updated.

## Defined in

[src/GraphQl/Mutations/ActionItemMutations.ts:88](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/ActionItemMutations.ts#L88)
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
[Admin Docs](/)
[Admin Docs](/)**Docs**

***

# Variable: UPDATE\_ACTION\_ITEM\_MUTATION

> `const` **UPDATE\_ACTION\_ITEM\_MUTATION**: `DocumentNode`
Defined in: [src/GraphQl/Mutations/ActionItemMutations.ts:52](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/ActionItemMutations.ts#L52)

GraphQL mutation to update an action item.

## Param
@@ -37,3 +35,7 @@ Completion date.
## Param

Whether the ActionItem has been completed.

## Defined in

[src/GraphQl/Mutations/ActionItemMutations.ts:52](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/ActionItemMutations.ts#L52)
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
[Admin Docs](/)
[Admin Docs](/)**Docs**

***

# Variable: CREATE\_AGENDA\_ITEM\_CATEGORY\_MUTATION

> `const` **CREATE\_AGENDA\_ITEM\_CATEGORY\_MUTATION**: `DocumentNode`
Defined in: [src/GraphQl/Mutations/AgendaCategoryMutations.ts:9](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/AgendaCategoryMutations.ts#L9)

GraphQL mutation to create an agenda category.

## Param

Name, Description, OrganizationID of the AgendaCategory.

## Defined in

[src/GraphQl/Mutations/AgendaCategoryMutations.ts:9](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/AgendaCategoryMutations.ts#L9)
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
[Admin Docs](/)
[Admin Docs](/)**Docs**

***

# Variable: DELETE\_AGENDA\_ITEM\_CATEGORY\_MUTATION

> `const` **DELETE\_AGENDA\_ITEM\_CATEGORY\_MUTATION**: `DocumentNode`
Defined in: [src/GraphQl/Mutations/AgendaCategoryMutations.ts:23](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/AgendaCategoryMutations.ts#L23)

GraphQL mutation to delete an agenda category.

## Param

The ID of the AgendaCategory to be deleted.

## Defined in

[src/GraphQl/Mutations/AgendaCategoryMutations.ts:23](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/AgendaCategoryMutations.ts#L23)
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
[Admin Docs](/)
[Admin Docs](/)**Docs**

***

# Variable: UPDATE\_AGENDA\_ITEM\_CATEGORY\_MUTATION

> `const` **UPDATE\_AGENDA\_ITEM\_CATEGORY\_MUTATION**: `DocumentNode`
Defined in: [src/GraphQl/Mutations/AgendaCategoryMutations.ts:36](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/AgendaCategoryMutations.ts#L36)

GraphQL mutation to update an agenda category.

## Param
@@ -17,3 +15,7 @@ The ID of the AgendaCategory to be updated.
## Param

Updated Name, Description, OrganizationID of the AgendaCategory.

## Defined in

[src/GraphQl/Mutations/AgendaCategoryMutations.ts:36](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/AgendaCategoryMutations.ts#L36)
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
[Admin Docs](/)
[Admin Docs](/)**Docs**

***

# Variable: CREATE\_AGENDA\_ITEM\_MUTATION

> `const` **CREATE\_AGENDA\_ITEM\_MUTATION**: `DocumentNode`
Defined in: [src/GraphQl/Mutations/AgendaItemMutations.ts:3](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/AgendaItemMutations.ts#L3)
## Defined in

[src/GraphQl/Mutations/AgendaItemMutations.ts:3](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/AgendaItemMutations.ts#L3)
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
[Admin Docs](/)
[Admin Docs](/)**Docs**

***

# Variable: DELETE\_AGENDA\_ITEM\_MUTATION

> `const` **DELETE\_AGENDA\_ITEM\_MUTATION**: `DocumentNode`
Defined in: [src/GraphQl/Mutations/AgendaItemMutations.ts:12](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/AgendaItemMutations.ts#L12)
## Defined in

[src/GraphQl/Mutations/AgendaItemMutations.ts:12](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/AgendaItemMutations.ts#L12)
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
[Admin Docs](/)
[Admin Docs](/)**Docs**

***

# Variable: UPDATE\_AGENDA\_ITEM\_MUTATION

> `const` **UPDATE\_AGENDA\_ITEM\_MUTATION**: `DocumentNode`
Defined in: [src/GraphQl/Mutations/AgendaItemMutations.ts:20](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/AgendaItemMutations.ts#L20)
## Defined in

[src/GraphQl/Mutations/AgendaItemMutations.ts:20](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/AgendaItemMutations.ts#L20)
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
[Admin Docs](/)
[Admin Docs](/)**Docs**

***

# Variable: CREATE\_CAMPAIGN\_MUTATION

> `const` **CREATE\_CAMPAIGN\_MUTATION**: `DocumentNode`
Defined in: [src/GraphQl/Mutations/CampaignMutation.ts:15](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/CampaignMutation.ts#L15)

GraphQL mutation to create a new fund Campaign.

## Param
@@ -37,3 +35,7 @@ The currency of the campaign.
## Returns

The ID of the created campaign.

## Defined in

[src/GraphQl/Mutations/CampaignMutation.ts:15](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/CampaignMutation.ts#L15)
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
[Admin Docs](/)
[Admin Docs](/)**Docs**

***

# Variable: UPDATE\_CAMPAIGN\_MUTATION

> `const` **UPDATE\_CAMPAIGN\_MUTATION**: `DocumentNode`
Defined in: [src/GraphQl/Mutations/CampaignMutation.ts:53](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/CampaignMutation.ts#L53)

GraphQL mutation to update a fund Campaign.

## Param
@@ -37,3 +35,7 @@ The currency of the campaign.
## Returns

The ID of the updated campaign.

## Defined in

[src/GraphQl/Mutations/CampaignMutation.ts:53](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/CampaignMutation.ts#L53)
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
[Admin Docs](/)
[Admin Docs](/)**Docs**

***

# Variable: CREATE\_COMMENT\_POST

> `const` **CREATE\_COMMENT\_POST**: `DocumentNode`
Defined in: [src/GraphQl/Mutations/CommentMutations.ts:11](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/CommentMutations.ts#L11)

GraphQL mutation to create a new comment on a post.

## Param
@@ -21,3 +19,7 @@ The ID of the post to which the comment is being added.
## Returns

The created comment object.

## Defined in

[src/GraphQl/Mutations/CommentMutations.ts:11](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/GraphQl/Mutations/CommentMutations.ts#L11)
Loading