feat: add default organization ID to environment and enhance organiza… #823
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes several changes to improve the functionality and user experience of the
OrganizationSelect
component and a minor addition to the.env.example
file. The most important changes include adding a default organization ID, enhancing the organization selection interface, and ensuring proper clipboard functionality.Enhancements to
OrganizationSelect
component:resources/src/models/Organization/components/OrganizationSelect.vue
: Added a default organization ID from the environment variableVITE_OSP_DEFAULT_ORG_ID
and set it if no organization is selected initially. [1] [2]resources/src/models/Organization/components/OrganizationSelect.vue
: Included a clearable option in the organization select input for better user experience.resources/src/models/Organization/components/OrganizationSelect.vue
: Enhanced the organization option template to display additional information, such as the ROR identifier and country code, and added a copy-to-clipboard button for the ROR identifier.resources/src/models/Organization/components/OrganizationSelect.vue
: Imported and utilized theuseClipboard
function for clipboard operations.Environment configuration:
.env.example
: AddedVITE_OSP_DEFAULT_ORG_ID
with a default value of 1 to the environment configuration file.