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

Feature: Add agent model components and integration #278

Merged
merged 51 commits into from
Aug 7, 2023

Conversation

syphax-bouazzouni
Copy link
Collaborator

@syphax-bouazzouni syphax-bouazzouni commented Jun 19, 2023

Context

agroportal/project-management#411

Changes

Submission edit

  • Make select input by default not open to adding values (1bbd1db)
  • Fix text field component not using the required argument (f88e8d1)
  • Fix submission save/update error state (ce249cd)
  • Enable turbo for the submission form (0fb8601)

Metada Curator fixes

  • Add display agent in the metadata curator (3eae4cd)

Nested from component

  • Add margin top and bottom for the nested form component (f269c6b)
  • Update nested form component to have an empty state to send to the back (fd51d38)
  • Fix metadata curator does not save agent update (bug still in changed_values) (7579414)
  • Handle contact nested form empty state (4fcf11d)

Agent Admin page

  • Make the admin page save the current section when reloaded (cc405f8)
  • Add the Persons & Organizations tab on the admin page (dcf3d4c)
  • Add search input style (11ce305)
  • Update the search input component to use its internal variables (e1fd0c6)
  • Add JQuery data table to the admin agents table (f818858)

Agents actions

  • Add agents controller, routes, and views (ea5188c)
  • Add agents JSON search endpoint and action (3d426aa)
  • Add Agents search input component and show action (3dd7493)
  • Add Agents form style file (9d8c5ad)
  • Update new Agent action to take default values from the request params (4f5bd97)
  • Update the agent to use the Agents search component (cdbb08b)
  • Make the agent new partial turbo frame id parameterized (2f10ccd)
  • Add an Email field to the Agents form (fc76c5e)
  • Fix agents search input style (4c86671)
  • Include all latest_submission attributes in the summary page action (66396fd)
  • Add nested agent search input component (7c86299)
  • Update and finalize agents controller actions (a78ef1d)
  • Update agent search input to be more customizable (16e3e93)
  • Change agent search input to use its Id instead of name to find it (16e039b)
  • Change agent search input to use its Id instead of name to find it (9c6af22)
  • Handle the display of no array agents on the summary page (aa7fc32)
  • Add generate_agent_input helper to the submission helpers (5ddbca0)
  • Update display agent to show agent affiliations (211b5a4)
  • Handle for agent show the case they are string (65e3629)

Screenshots (to be updated)

Agents list

image

Agent form

image

@syphax-bouazzouni syphax-bouazzouni changed the title Feature: Add agent model UI components Feature: Add agent model components and integration Jul 28, 2023
@syphax-bouazzouni syphax-bouazzouni force-pushed the feature/add-agent-model-ui-components branch from fad3404 to ce7dae5 Compare July 28, 2023 09:32
@syphax-bouazzouni syphax-bouazzouni force-pushed the feature/add-agent-model-ui-components branch 2 times, most recently from 4439b71 to 1ecc55d Compare July 28, 2023 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant