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

Updates from Ecossistema Aurora - 2024-02-12 #663

Merged
merged 20 commits into from
Feb 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
2c843c0
Adds endpoints for create and update ActivityArea. (#15)
Akellymourab Feb 6, 2025
1243222
Correction Dropdown in Navbar (#22)
saracamilo Feb 6, 2025
ad23dd8
Add sniff to verify struct of enum (#26)
henriquelopeslima Feb 6, 2025
a9b1d95
Fix Opportunity page responsiveness (#25)
TalysonSoares Feb 6, 2025
f5a5c18
Add new attributes to Space entity (#16)
TalysonSoares Feb 7, 2025
326c698
Adds endpoints for listing, retrieving, and deleting Tag. (#29)
Akellymourab Feb 7, 2025
73c340e
Add unit test for inscription phase review (#38)
henriquelopeslima Feb 7, 2025
db07e8f
Create Page List for Activity Areas. (#28)
saracamilo Feb 7, 2025
2f8ce71
Fix Organization page responsiveness (#37)
TalysonSoares Feb 10, 2025
971e03f
Add the event activity (#35)
henriquelopeslima Feb 10, 2025
416453b
Add endpoints to create and update tags (#27)
imendes12 Feb 10, 2025
6d3b9df
Create Tag list Page (#31)
TalysonSoares Feb 10, 2025
6e1e36f
Include Translation Phase. (#47)
saracamilo Feb 10, 2025
a0b2f32
Create Page Activity Area. (#40)
saracamilo Feb 10, 2025
87743aa
Include Full Test Phase Creation (#53)
saracamilo Feb 11, 2025
a28e844
Add endpoints to retrieve and remove activity from event (#56)
henriquelopeslima Feb 11, 2025
3960e30
Fix Agent page responsiveness (#52)
TalysonSoares Feb 11, 2025
431bcd2
Adds update Spaces endpoints with new attributes. (#46)
Akellymourab Feb 11, 2025
8a0991c
Adds Create Tag Page (#32)
TalysonSoares Feb 11, 2025
2bca9ed
Create Event Schedule entity (#66)
imendes12 Feb 12, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 0 additions & 22 deletions assets/js/agent/list.js
Original file line number Diff line number Diff line change
@@ -1,29 +1,7 @@
const BTN_OPEN_FILTER = document.getElementById('open-filter');
const BTN_CLOSE_FILER = document.getElementById('close-filter');
const BTN_CLEAR_FILTER = document.getElementById('clear-filters');
const SIDEBAR = document.getElementById('filter-sidebar');
const MAIN_CONTENT = document.querySelector('.entity-container');

BTN_OPEN_FILTER.addEventListener('click', toggleSidebar);
BTN_CLOSE_FILER.addEventListener('click', toggleSidebar);
BTN_CLEAR_FILTER.addEventListener('click', clearFilters);

function toggleSidebar() {
SIDEBAR.classList.toggle('open');
MAIN_CONTENT.classList.toggle('shifted');

if (SIDEBAR.classList.contains('open')) {
BTN_OPEN_FILTER.style.visibility = 'hidden';
BTN_OPEN_FILTER.style.opacity = 0;
return;
}

setTimeout(() => {
BTN_OPEN_FILTER.style.visibility = 'visible';
BTN_OPEN_FILTER.style.opacity = 1;
}, 300);
}

function clearFilters() {
document.getElementById('agent-name').value = '';

Expand Down
1 change: 0 additions & 1 deletion assets/js/side-filter.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
const BTN_OPEN_FILTER = document.getElementById('open-filter');
const BTN_CLOSE_FILER = document.getElementById('close-filter');
const BTN_CLEAR_FILTER = document.getElementById('clear-filters');
const SIDEBAR = document.getElementById('filter-sidebar');
const MAIN_CONTENT = document.querySelector('.entity-container');
const ENTITY_WRAPPER = document.querySelector('.entity-wrapper');
Expand Down
43 changes: 43 additions & 0 deletions assets/styles/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,34 @@ img.card-images__entity-details {
z-index: 2;
}

.title-fs {
font-size: 2.5rem;
}

.entity-seals {
display: flex;
align-items: center;
gap: 0.625rem;
}

.seal-entity {
font-weight: bold;
font-size: 0.8125rem;
margin: 0;
display: flex;
align-items: center;
gap: 0.4rem;
}

.seal-entity::before {
content: '';
display: inline-block;
width: 0.9375rem;
height: 0.9375rem;
border-radius: 50%;
background-color: var(--bg-color-images);
}

@media (min-width: 1400px) {
.name__entity-details {
max-width: 755px;
Expand Down Expand Up @@ -645,6 +673,21 @@ img.card-images__entity-details {
.pill-tabs:last-child {
padding-right: 3rem;
}

.title-fs {
font-size: 1.35rem;
}

.form-select.entity {
width: 150px;
}

.entity-seals {
gap: 0.3rem;
align-items: start;
flex-direction: column;
margin-bottom: 1rem;
}
}

@media (max-width: 576px) {
Expand Down
9 changes: 9 additions & 0 deletions assets/styles/components/navbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -145,5 +145,14 @@
border-color: transparent;
}

@media (max-width: 768px) {
.dropdown-menu {
width: 100%;
}

.dropdown-content {
flex-wrap: wrap;
}
}


88 changes: 52 additions & 36 deletions assets/styles/pages/agents.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.access-profile-container {
text-align: right;
margin-top: 15px;
margin-right: 0.625rem;
}

.card-view-more {
Expand All @@ -9,24 +10,6 @@

.entity-page-tabs {
display: flex;
margin-left: 13rem;
}

.sidebar {
position: absolute;
top: 0;
left: -25.1875rem;
width: 25.1875rem;
height: 100%;
background-color: var(--snow-mist);
transition: left 0.3s ease;
padding: 20px;
margin-right: 50px;
padding: 13px 30px;
}

.sidebar.open {
left: 0;
}

.white-square {
Expand All @@ -42,24 +25,6 @@
min-height: 100vh;
}

.entity-wrapper {
display: flex;
justify-content: center;
position: relative;
margin-top: 47px;
}

.entity-container {
transition: width 0.3s, transform 0.3s;
width: var(--WIDTH_DEFAULT);
}

.entity-container.shifted {
width: 78.125rem;
transform: translateX(118px);
}


.entity-banner {
position: relative;
}
Expand Down Expand Up @@ -302,3 +267,54 @@
margin-left: -3px;
margin-top: 5px;
}

.agent-description {
margin-top: 0.625rem;
margin-left: 0;
padding-left: 0;
}

.agent-location strong, .agent-area strong, .agent-type {
margin-left: 0;
}

.agent-sub-area {
margin-left: 0;
}

.agent-card-body {
margin-left: 0.625rem;
}

@media (max-width: 768px) {
.agent-card-header {
flex-direction: column;
align-items: center;
text-align: center;
}

.agent-card-header img {
width: 4rem;
height: 4rem;
margin: 0 0 10px 0;
}

.agent-info {
flex-direction: column;
gap: 5px;
}

.agent-card-body {
padding: 10px;
}

.agent-card-body {
margin-left: 0;
}

.access-profile-container {
text-align: center;
padding-right: 0;
margin-right: 0;
}
}
45 changes: 45 additions & 0 deletions assets/styles/pages/organization.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,55 @@
font-weight: bold;
}

.organization-type {
font-family: var(--font-open-sans);
color: var(--main-font-color);
background-color: var(--btn-warning-bg-color);
padding: 0.25rem 0.625rem;
border-radius: 0.9375rem;
font-size: 0.9rem;
font-weight: bold;
display: flex;
align-items: center;
justify-content: center;
margin-left: 0.9375rem;
margin-top: 0.125rem;
}

.organization-type.person {
background-color: var(--btn-warning-bg-color);
}

.organization-sub-area {
color: var(--archive-icon-color);
font-weight: bold;
font-size: 0.9375rem;
display: inline;
margin-left: 0.3125rem;
}

.organization-calendar {
display: flex;
align-items: center;
justify-content: start;
margin-left: 0.8rem;
}

@media (max-width: 768px) {
.organization-type {
margin: 0;
}

.organization-sub-area {
margin-left: 0;
}

.organization-created {
font-size: 0.880rem;
}

.organization-calendar {
margin-left: 0.3rem;
justify-content: center;
}
}
7 changes: 7 additions & 0 deletions config/environment/aurora.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,13 @@ sidebar:
admin_role_list:
icon: newspaper
text: functions
admin_activity_area_list:
icon: category
text: area_of_activity
route: admin_activity_area_list
admin_tag_list:
icon: label
text: tags

homepage:
sections:
Expand Down
10 changes: 10 additions & 0 deletions config/routes/admin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,13 @@ admin_my_opportunity:
resource: 'admin/my-opportunity.yaml'
prefix: /painel/minhas-oportunidades
name_prefix: admin_my_opportunity_

admin_activity_area:
resource: 'admin/activity-area.yaml'
prefix: /painel/area-atuacao
name_prefix: admin_activity_area_

admin_tags:
resource: 'admin/tag.yaml'
prefix: /painel/admin/tags
name_prefix: admin_tag_
19 changes: 19 additions & 0 deletions config/routes/admin/activity-area.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
add:
path: /adicionar
controller: App\Controller\Web\Admin\ActivityAreaAdminController::add
methods: ['GET', 'POST']

list:
path: /
controller: App\Controller\Web\Admin\ActivityAreaAdminController::list
methods: ['GET']

remove:
path: /{id}/remover
controller: App\Controller\Web\Admin\ActivityAreaAdminController::remove
methods: ['GET']

edit:
path: /{id}/editar
controller: App\Controller\Web\Admin\ActivityAreaAdminController::edit
methods: ['GET', 'POST']
9 changes: 9 additions & 0 deletions config/routes/admin/tag.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
create:
path: /adicionar
controller: App\Controller\Web\Admin\TagAdminController::create
methods: ['GET', 'POST']

list:
path: /
controller: App\Controller\Web\Admin\TagAdminController::list
methods: ['GET']
12 changes: 12 additions & 0 deletions config/routes/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ api_events:
name_prefix: api_event_
trailing_slash_on_root: false

api_event_activity:
resource: 'api/event-activity.yaml'
prefix: /api/events/{event}/activities
name_prefix: api_event_activity_
trailing_slash_on_root: false

api_faq:
resource: 'api/faq.yaml'
prefix: /api/faqs
Expand Down Expand Up @@ -80,6 +86,12 @@ api_space:
name_prefix: api_space_
trailing_slash_on_root: false

api_tag:
resource: 'api/tag.yaml'
prefix: /api/tags
name_prefix: api_tag_
trailing_slash_on_root: false

api_users:
resource: 'api/user.yaml'
prefix: /api/users
Expand Down
10 changes: 10 additions & 0 deletions config/routes/api/activity-area.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
create:
path: /
controller: App\Controller\Api\ActivityAreaApiController::create
methods: ['POST']

get:
path: /{id}
controller: App\Controller\Api\ActivityAreaApiController::get
Expand All @@ -12,3 +17,8 @@ remove:
path: /{id}
controller: App\Controller\Api\ActivityAreaApiController::remove
methods: ['DELETE']

update:
path: /{id}
controller: App\Controller\Api\ActivityAreaApiController::update
methods: ['PATCH']
14 changes: 14 additions & 0 deletions config/routes/api/event-activity.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
get:
path: /{id}
controller: App\Controller\Api\EventActivityApiController::get
methods: ['GET']

list:
path: /
controller: App\Controller\Api\EventActivityApiController::list
methods: ['GET']

remove:
path: /{id}
controller: App\Controller\Api\EventActivityApiController::remove
methods: ['DELETE']
Loading