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

Fix organization model #1700

Merged
merged 1 commit into from
Oct 17, 2023
Merged

Fix organization model #1700

merged 1 commit into from
Oct 17, 2023

Conversation

joanagmaia
Copy link
Contributor

@joanagmaia joanagmaia commented Oct 16, 2023

Changes proposed ✍️

What

🤖 Generated by Copilot at 42971e5

The pull request enhances the organization model by using a new class for a field with variable types. This affects the file frontend/src/modules/organization/organization-model.js.

🤖 Generated by Copilot at 42971e5

Sing, O Muse, of the skillful coder who devised
A new class to handle fields of diverse types,
And applied it to the averageEmployeeTenure field,
That measures the loyalty of the workers in each guild.

Why

How

🤖 Generated by Copilot at 42971e5

  • Import and use GenericField class to create fields with flexible types (link, link)
  • Update organization-model.js to change the type of averageEmployeeTenure field from IntegerField to GenericField (link)

Checklist ✅

  • Label appropriately with Feature, Improvement, or Bug.
  • Add screehshots to the PR description for relevant FE changes
  • New backend functionality has been unit-tested.
  • API documentation has been updated (if necessary) (see docs on API documentation).
  • Quality standards are met.

@joanagmaia joanagmaia added the Bug Created by Linear-GitHub Sync label Oct 16, 2023
@joanagmaia joanagmaia self-assigned this Oct 16, 2023
@joanagmaia joanagmaia merged commit 00fa2a3 into main Oct 17, 2023
7 checks passed
@joanagmaia joanagmaia deleted the bugfix/organization-model branch October 17, 2023 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Created by Linear-GitHub Sync
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants