Skip to content

Comments

[web] Simplify code of Section component#839

Merged
dgdavid merged 4 commits intomasterfrom
simplify-section-component
Nov 2, 2023
Merged

[web] Simplify code of Section component#839
dgdavid merged 4 commits intomasterfrom
simplify-section-component

Conversation

@dgdavid
Copy link
Contributor

@dgdavid dgdavid commented Nov 2, 2023

Problem

While working in #838 a few code improvements for simplifying Agama/Section component were identified.

Solution

Apply them.

Testing

  • Tests passed
  • Checked manually too.

Section#SectionIcon#size was no really in use, just falling back to its
default value. Section#SectionIcon#aria-hidden attribute is not needed
since the core/Icon component already sets it.
Using less internal components.
@dgdavid dgdavid requested a review from imobachgs November 2, 2023 08:31
@coveralls
Copy link

coveralls commented Nov 2, 2023

Coverage Status

coverage: 75.017% (-0.006%) from 75.023% when pulling d687cfc on simplify-section-component into 2fd181b on master.

@dgdavid dgdavid force-pushed the simplify-section-component branch from 480e2a1 to 597e710 Compare November 2, 2023 10:01
@dgdavid dgdavid force-pushed the simplify-section-component branch from 597e710 to d687cfc Compare November 2, 2023 10:04
@dgdavid dgdavid requested a review from imobachgs November 2, 2023 10:11
@dgdavid dgdavid merged commit 72cbbbd into master Nov 2, 2023
@dgdavid dgdavid deleted the simplify-section-component branch November 2, 2023 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants