feat: Enhance Person data structure and improve TablePersons component
- Updated Person interface to include first_name and last_name fields for better clarity and organization handling. - Modified TablePersons.vue to support new fields, including improved pagination and drag-and-drop functionality. - Added loading states and error handling for form controls within the table. - Enhanced the visual layout of the table with responsive design adjustments. - Updated solr.xslt to correctly reference ServerDateModified and EmbargoDate attributes. - updated AvatarController - improved download method for editor, and reviewer - improved security for officlial download file file API: filterd by server_state
This commit is contained in:
parent
e1ccf0ddc8
commit
06ed2f3625
12 changed files with 3143 additions and 1387 deletions
|
@ -132,13 +132,25 @@ export interface Description {
|
|||
|
||||
export interface Person {
|
||||
id?: number;
|
||||
name?: string;
|
||||
// Name fields
|
||||
first_name?: string;
|
||||
last_name?: string; // Also used for organization name
|
||||
name?: string; // Alternative full name field
|
||||
email: string;
|
||||
name_type?: string;
|
||||
// Additional identifiers
|
||||
identifier_orcid?: string;
|
||||
datasetCount?: string;
|
||||
|
||||
// Status and metadata
|
||||
status: boolean; // true = read-only/locked, false = editable
|
||||
created_at?: string;
|
||||
status: boolean;
|
||||
updated_at?: string;
|
||||
|
||||
// Statistics
|
||||
datasetCount?: string;
|
||||
|
||||
// Relationship data (for many-to-many relationships)
|
||||
pivot_contributor_type?: string; // Type of contribution (e.g., 'Author', 'Editor', 'Contributor')
|
||||
}
|
||||
|
||||
interface IErrorMessage {
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue