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

feat: allow site name and sidebar colour to be set #50

Merged
merged 4 commits into from
Oct 28, 2024

Conversation

Arcath
Copy link
Contributor

@Arcath Arcath commented Oct 28, 2024

Checklist

  • Documentation updated

Summary

Will close #39.

Allows you to set the branding details, but also introduces a system settings system.

@Arcath Arcath added the enhancement New feature or request label Oct 28, 2024
@Arcath Arcath added this to the Version 2.2 milestone Oct 28, 2024
Copy link

github-actions bot commented Oct 28, 2024

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 13.05% 286 / 2190
🔵 Statements 13% 294 / 2261
🔵 Functions 8.59% 54 / 628
🔵 Branches 9.5% 54 / 568
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
app/lib/settings.server.ts 100% 100% 100% 100%
app/lib/utils/contrast-color.ts 0% 0% 0% 0% 1-3, 2, 4-8, 6-7, 9-22, 10-18, 11-17, 17-18, 18-20, 20, 20-21
app/lib/utils/page-title.ts 100% 100% 100% 100%
app/routes/app.$assetslug.$entry.$revision.tsx 0% 0% 0% 0% 12-80, 13-15, 17, 19-27, 29-44, 47-59, 62-65, 71-77, 72, 72, 74, 74, 76, 79, 82-84, 83, 86-141, 88, 90, 92-139, 100-102, 104-110, 105-109, 112, 125-135
app/routes/app.$assetslug.$entry._index.tsx 0% 0% 0% 0% 25-97, 26, 28-32, 29-31, 34, 36-43, 37-42, 45-47, 46, 49-51, 50, 53-55, 54, 57-61, 58-60, 63-67, 64-66, 69-71, 70, 73-79, 74, 74, 76, 76, 78, 81, 83-96, 99-101, 100, 103-105, 104, 107-207, 109, 111-205, 119-125, 120-124, 127, 140-147, 156-163, 172-179, 191-201
app/routes/app.$assetslug.$entry.delete.tsx 0% 0% 0% 0% 17-38, 18-20, 22, 24-27, 29-35, 30, 30, 32, 32, 34, 37, 40-72, 41-43, 45-46, 48-51, 53-59, 54, 54, 56, 56, 58, 61, 63, 65-69, 66, 68, 71, 74-85, 75-84, 87-103, 88, 90-101
app/routes/app.$assetslug.$entry.edit.tsx 0% 0% 0% 0% 22-56, 23-25, 27, 29-43, 45-51, 46, 46, 48, 48, 50, 53, 55, 58-167, 59-61, 63, 65, 67, 69-70, 72, 74-77, 79-82, 84-158, 92-94, 96-100, 102-130, 104-112, 108-111, 113, 116-124, 120-123, 125, 129, 132-150, 133-142, 134-141, 144-147, 149, 152-154, 156, 160, 160, 162-164, 163, 166, 169-173, 170-172, 175-252, 176-177, 179, 181-182, 184-250, 192, 194-197, 207-216, 215, 218-228, 240-243
app/routes/app.$assetslug.$entry.link-password.tsx 0% 100% 0% 0% 17-33, 18-20, 22, 24-30, 32, 35-77, 36-38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 56, 58, 60-66, 68-70, 69, 72-74, 76, 79-85, 80-84, 87-118, 88, 90, 92-94, 93, 96-105, 97-104, 107-116
app/routes/app.$assetslug._index.tsx 0% 100% 0% 0% 17-93, 18, 20-24, 21-23, 26, 28-33, 29-32, 35-53, 38-50, 55-87, 58-83, 89-92, 95-97, 96, 99-101, 100, 103-116, 104, 106-114
app/routes/app.$assetslug.add.tsx 0% 0% 0% 0% 21-34, 22-24, 26, 28-31, 33, 36-119, 37-39, 41, 43, 45, 47-50, 52-54, 56-106, 64-68, 70-98, 72-80, 76-79, 81, 84-92, 88-91, 93, 97, 100-102, 104, 109, 109, 111-116, 112-113, 115, 118, 121-127, 122-126, 129-187, 130, 132, 134, 136-185, 144, 146-149, 159-168, 167, 170-180
app/routes/app.$assetslug.import.tsx 0% 0% 0% 0% 18-31, 19-21, 23, 25-28, 30, 33-79, 34-36, 38, 40-43, 45, 47, 49, 54-56, 58-76, 61-63, 62, 65-72, 74, 78, 81-87, 82-86, 89-232, 90-105, 98, 100, 102, 106, 108-127, 109-126, 110-125, 111-113, 112, 115-117, 116, 119-122, 124, 129-231, 132-157, 139, 146-151, 148-149, 159, 161-212, 173, 180-197, 184-185, 190-193, 206, 214, 216-228, 226, 230
app/routes/app._index.tsx 0% 100% 0% 0% 21-47, 22, 24-28, 25-27, 30, 32-34, 33, 36-44, 37-43, 38-40, 42, 46, 49-51, 50, 53-55, 54, 57-86, 58, 60-84, 74-80
app/routes/app.acl-manager.$acl.tsx 0% 0% 0% 0% 17-35, 18-20, 22, 24-27, 29-32, 34, 37-82, 38-40, 42, 44, 46-48, 50-59, 51-53, 55-58, 61, 63-79, 64, 69-78, 81, 84-90, 85-89, 92-167, 93, 95, 97-104, 102, 106, 108-165, 123, 125, 127-139, 148, 148, 150-153
app/routes/app.acl-manager._index.tsx 0% 100% 0% 0% 8-16, 9, 11, 13, 15, 18-24, 19-23, 26-51, 27, 29-49, 39-44
app/routes/app.acl-manager.add.tsx 0% 100% 0% 0% 16-20, 17, 19, 22-38, 23, 25, 27, 29, 31, 33-35, 37, 40-42, 41, 44-57, 45-55
app/routes/app.asset-manager.$asset.$assetfield.tsx 0% 0% 0% 0% 23-35, 24-26, 28-32, 34, 37-73, 38, 40, 42, 44-48, 50-52, 54-63, 65-70, 66-69, 72, 75-86, 76-85, 88-148, 89, 91-146
app/routes/app.asset-manager.$asset.tsx 0% 0% 0% 0% 8-31, 9-11, 13, 15-21, 23, 23, 25-28, 30, 33-39, 34-38, 41-113, 42, 44-111, 75-85, 96-105
app/routes/app.asset-manager._index.tsx 0% 100% 0% 0% 8-16, 9, 11, 13, 15, 18-24, 19-23, 26-51, 27, 29-49, 39-44
app/routes/app.asset-manager.add.tsx 0% 100% 0% 0% 17-25, 18, 20, 22, 24, 27-51, 28, 30, 32, 34-38, 40-44, 46-48, 50, 53-55, 54, 57-99, 58, 60-97, 87-90
app/routes/app.dashboard.tsx 0% 0% 0% 0% 23-40, 24, 26-28, 27, 30, 32-37, 33-36, 39, 42-84, 43, 45, 47, 49, 51, 53, 55-81, 56-57, 59-60, 62, 64-71, 65, 67-70, 83, 86-88, 87, 90-92, 91, 94-162, 95-96, 98-160, 104-131, 112-120, 114-116, 115, 118, 138-146, 156, 164-174, 173
app/routes/app.documents.$document.$revision.tsx 0% 0% 0% 0% 12-33, 13-15, 17, 19-24, 26-28, 30, 32, 35-37, 36, 39-75, 40, 42-73, 61-69
app/routes/app.documents.$document._index.tsx 64.7% 0% 16.66% 64.7% 46, 51, 55, 57-107, 69-77, 95-103
app/routes/app.documents.$document.attach.tsx 0% 0% 0% 0% 29-61, 30-32, 34, 36-38, 41-42, 42, 44-45, 47-54, 48, 50-53, 56-60, 59, 63-67, 64-66, 69-110, 70-72, 74, 76-78, 80, 82, 84, 88, 90, 92, 94-98, 100, 102, 104-107, 109, 112-156, 113, 115-154, 131-139
app/routes/app.documents.$document.edit.tsx 65.38% 100% 20% 65.38% 24-26, 28, 30-32, 34, 36, 78, 82, 84-116, 106-109
app/routes/app.documents._index.tsx 63.63% 100% 25% 63.63% 23, 27, 29-53, 40-48
app/routes/app.documents.add.tsx 62.5% 100% 20% 62.5% 25, 27, 29, 31, 33, 59, 63, 65-93, 83-86
app/routes/app.field-manager.$field.tsx 0% 100% 0% 0% 19-31, 20-22, 24, 26-28, 30, 33-58, 34, 36, 38-40, 42, 44-45, 47-48, 50, 52-55, 57, 60-62, 61, 64-94, 65, 67-69, 68, 71-92
app/routes/app.field-manager._index.tsx 0% 100% 0% 0% 8-16, 9, 11, 13, 15, 18-20, 19, 22-49, 23, 25-47, 36-42
app/routes/app.field-manager.add.tsx 0% 100% 0% 0% 19-23, 20, 22, 25-47, 26, 28, 30, 32-34, 36-38, 40, 42-44, 46, 49-51, 50, 53-98, 54, 56-58, 57, 60-96, 79
app/routes/app.passwords.$password.$revision.tsx 0% 100% 0% 0% 12-47, 13-15, 17-18, 20-25, 27-36, 38, 40-46, 49-51, 50, 53-94, 55, 57-92, 81-88
app/routes/app.passwords.$password._index.tsx 37.5% 0% 12.5% 37.5% 44, 48-50, 52-63, 57, 59, 61, 65-140, 82-87, 96-97, 114-121, 128-136
app/routes/app.passwords.$password.edit.tsx 0% 0% 0% 0% 24-40, 25-27, 29, 31-33, 35, 37, 39, 42-90, 43-45, 47, 49, 51, 53-57, 59-61, 63-65, 67-76, 78-87, 89, 92-94, 93, 96-143, 97, 99-141, 131-134
app/routes/app.passwords._index.tsx 63.63% 100% 25% 63.63% 22, 26, 28-50, 39-45
app/routes/app.passwords.add.tsx 66.66% 50% 20% 66.66% 27, 29, 31, 33, 35, 70, 74, 76-114, 104-107
app/routes/app.process.$process._index.tsx 0% 100% 0% 0% 12-28, 13-15, 17, 19-21, 23, 25, 27, 30-32, 31, 34-69, 35, 37-43, 38, 40-42, 41, 45-59, 46-52, 47, 49, 51, 54-58, 55-57, 56, 61-67
app/routes/app.process.$process.edit.tsx 0% 100% 0% 0% 17-29, 18-20, 22, 24-26, 28, 31-52, 32-34, 36, 38, 40-41, 43-44, 46-49, 51, 54-56, 55, 58-83, 59, 61-81
app/routes/app.process._index.tsx 0% 0% 0% 0% 10-20, 11, 13, 15-17, 19, 22-24, 23, 26-57, 27, 29-55, 41-50
app/routes/app.search.tsx 0% 0% 0% 0% 21-25, 22, 24, 27-57, 28, 30, 32, 34, 36, 38-40, 42-44, 46-48, 50-54, 54, 56, 59-61, 60, 63-89, 64, 66-87, 79-82
app/routes/app.system.tsx 0% 0% 0% 0% 22-31, 23, 25-26, 28, 30, 33-66, 34, 36, 38, 40, 42-44, 48-49, 51-53, 52, 55-57, 56, 59-63, 60, 62, 65, 68-70, 69, 72-134, 73, 75-132, 109-114, 121
app/routes/app.tsx 0% 0% 0% 0% 25-53, 26, 28, 30-33, 35-48, 42-46, 50, 52, 57-134, 58-62, 59-61, 60, 63-64, 66-89, 72-73, 75-78, 80, 82-85, 83-84, 87, 91-132, 96-97, 106-108, 107, 111, 124-127, 136-239, 137-142, 140-141, 144-237, 149, 183, 183, 185-188, 243-296, 244, 246-278, 247-263, 248-261, 265-277, 266-275, 280, 282-294
app/routes/app.user-manager.$user.tsx 0% 0% 0% 0% 18-28, 19-21, 23, 25, 27, 30-60, 31-33, 35, 37, 39-42, 44-46, 48, 50-52, 51, 54-57, 59, 62-64, 63, 66-97, 67, 69-95
app/routes/app.user-manager._index.tsx 0% 100% 0% 0% 8-19, 9, 11, 13-16, 18, 21-23, 22, 25-52, 26, 28-50, 39-45
app/routes/app.user-manager.add.tsx 0% 100% 0% 0% 17-23, 18-20, 22, 25-49, 26-28, 30, 32, 34-37, 39-42, 44-46, 48, 51-53, 52, 55-84, 56-82
app/routes/app.user.totp.tsx 0% 0% 0% 0% 19-55, 20, 22, 24-34, 36, 38-45, 47-54, 57-86, 58, 60-61, 63-64, 66-67, 69, 71, 73-83, 74-82, 85, 88-90, 89, 92-163, 93-95, 97-103, 98-100, 99, 102, 105-147, 106-145, 125, 137, 149-161
app/routes/app.user.tsx 13.88% 0% 14.28% 13.88% 25, 27, 29-32, 34, 38, 42, 44-45, 47-48, 50-51, 53, 55-56, 60-74, 61-73, 62, 64-67, 69-72, 76, 80-83, 85-173, 99-104, 140-166, 148-156
app/routes/app_.login.tsx 67.64% 25% 50% 67.64% 51-59, 63-71, 75-78, 82-88, 90, 92-102, 93-101, 124, 128, 132, 134-169
Generated in workflow #153 for commit c317ef9 by the Vitest Coverage Report Action

@Arcath Arcath merged commit 7bbc607 into main Oct 28, 2024
7 checks passed
@Arcath Arcath deleted the feat-system-settings-and-branding branch October 28, 2024 14:30
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.

Branding
1 participant