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: Environment #62

Merged
merged 16 commits into from
Oct 23, 2023
Merged

Feature: Environment #62

merged 16 commits into from
Oct 23, 2023

Conversation

tg666
Copy link
Contributor

@tg666 tg666 commented Oct 2, 2023

No description provided.

tg666 added 5 commits October 2, 2023 07:49
- added composer dependencies `contributte/forms-multiplier` and `spatie/color`
- added yarn dependency `vanilla-picker`
- added custom AlpineJs color picker component
- added environments into the Global Settings
- added command `GlobalSettings/PutEnvironmentsCommand`
- added event `GlobalSettings/EnvironmentsChanged`
- added database migrations
- updated mapping for entity `GlobalSettings`
- added form validator `UniqueMultiplierValuesValidator`
- added options `imports` and `template_variables` for `FormFactoryInterface`
- added component `EnvironmentsFormControl`
- added evaluation of text color (black or white) according to background color for elements that have configurable color (project color, environment color)
- added database migration
- added domain event `ProjectEnvironmentsChanged`
- added parameters `environments` to the commands `CreateProjectCommand` and `UpdateProjectCommand`
- added checkbox list `Environments` to the Project edit form
- replaced text field `color` with new color-picker in the Project edit form
- added database migration
- added environment parameter to the domain dommand `StoreConsentCommand`
- added optional body parameter `environment` in the Consent API
- added filterable column `Environment` in the list of consents
- added `environment` int the consent history modal
- added database migration
- added domain event `CookieEnvironmentsChanged`
- added parameter `environment` in domain commands
- added field `environment` in cookie imports and exports
- added fields `All environments` and `Environments` in the Cookie edit form
- added optional query parameter `environment` in the Cookie API
@tg666 tg666 changed the title Feature/environment Draft: Feature/environment Oct 2, 2023
@tg666 tg666 marked this pull request as draft October 2, 2023 06:09
tg666 added 6 commits October 3, 2023 10:12
- added environments to the Dashboard
- added column and filter `environments` in the list of cookies
- fixed filtering on `projects` in the list of cookies
- improved color-picker UI
…ronmentsChanged`, `Project\ProjectEnvironmentsChanged` and `GlobalSettings\EnvironmentsChanged`
- added environments support into cookie table scripts
@tg666 tg666 marked this pull request as ready for review October 6, 2023 01:29
@tg666 tg666 requested a review from jelen07 October 6, 2023 01:30
@tg666 tg666 added the enhancement New feature or request label Oct 6, 2023
@tg666 tg666 changed the title Draft: Feature/environment Feature: Environment Oct 6, 2023
tg666 added 5 commits October 12, 2023 08:03
- changed environment badges
- changed style of environment dropdowns
- environments are not visible on the dashboard, the consent list and the integration page if the project has just the default environment
- fixed UI issues - environment dropdowns, colored dots before environment names etc.
- added option "all environments" in the dropdown on the Integration page
- added dropdown with environments for opening the template in the TemplatesForm (integration)
- the Cookies API now supports returning all cookies across environments using the `environment=*` parameter
- the default environment is not `null` anymore but the environment code is `"default"`
- a color and name of the default environment is now configurable in the Global settings
- modified mogrations associated with environments
- environments are not nullable anymore, the code `"default"` is used instead
- changed processing of query parameter `environment` in the Cookies API. If to parameter is not defined or it's value is empty then all cookies are returned.
- small UI changes
- status code 400 with related message is returned from `/api/crawler/receive-result` endpoint if the project not foud
- changed some icons
- panels with cookie suggestion types are collapsed by default
- changed translation of "private provider" to "project provider"
@tg666 tg666 merged commit ab37597 into main Oct 23, 2023
2 checks passed
@tg666 tg666 deleted the feature/environment branch October 23, 2023 23:56
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.

2 participants