Skip to content

Commit e9ace43

Browse files
cleanup closing and formatting
1 parent 8f9f75b commit e9ace43

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

  • content/blog/entries/2025-10-06-refactoring-the-cc-chooser-pt-2

content/blog/entries/2025-10-06-refactoring-the-cc-chooser-pt-2/contents.lr

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,8 @@ from which more robust Web Components could be utilized later if such a need
163163
arose, giving us a stable path of complexity to follow down the line.
164164

165165
We also opted to avoid the use of popup modals and tabs, and instead leaned on
166-
`<summary>/<details>` elements instead to accomplish similar behavior without the
166+
`<summary>/<details>` elements instead to accomplish similar behavior without
167+
the
167168
need for JS based behavior. Once again keeping our JS footprint much smaller.
168169

169170
## Improving the UX
@@ -266,20 +267,25 @@ grow or pivot in new directions.
266267

267268
## Closing
268269

270+
Overall, the code footprint is now **57.52 times smaller**! If the refactored
271+
codebase's footprint was Earth, then the old codebase's footprint would be Neptune,
272+
since Neptune's volume is 58 times larger than Earth ([you can fit 58 Earths
273+
within Neptune][neptune-earth])
274+
269275
Despite the number of improvements throughout the refactor, one of the key
270276
goals was clearing out enough bitrot and complexity to make room for the
271277
project to grow sensibly and responsibly again. We weren’t just trying to
272278
improve the Chooser for a static launch, but to reposition it so that it could
273279
once again grow more easily in the directions that would benefit its users most.
274280

275281
We already have a bit of a roadmap in mind, and we’ll get into that in the
276-
final installment, **Part 3: Future Growth: What’s next for the Chooser**, and
282+
final installment, **Part 3: Future Growth: What’s next for the Chooser**,
283+
and
277284
what directions we hope to grow it.
278285

279-
280-
281286
[cc-website]: https://creativecommons.org/share-your-work/
282287
[chooser]: https://creativecommons.org/choose/
283288
[chooser-refactor-part1]: /blog/entries/2025-07-11-refactoring-the-cc-chooser-pt-1/
289+
[neptune-earth]: https://www.space.com/41-neptune-the-other-blue-planet-in-our-solar-system.html#:~:text=Neptune%20is%20the%20eighth%20and,Earth's%20volume%2C%20according%20to%20NASA.
284290
[open-verse]: https://openverse.org/
285291
[scc-tool]: https://github.com/boyter/scc

0 commit comments

Comments
 (0)