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: Add campaign module and banners #3240

Merged
merged 6 commits into from
Jan 21, 2025

Conversation

LautaroPetaccio
Copy link
Contributor

This PR adds the new campaign module and the code to display the banners and use the campaign data from the module.
It also removes all of the old code that was used to display the banners.
The configurations are only set on dev, as the final entities and keys are to be set before the release.

Copy link

vercel bot commented Jan 21, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
builder ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 21, 2025 8:40pm

Copy link

Pull Request Test Coverage Report for Build 12886743242

Details

  • 6 of 6 (100.0%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.02%) to 48.874%

Totals Coverage Status
Change from base Build 12709175594: 0.02%
Covered Lines: 5984
Relevant Lines: 11257

💛 - Coveralls

@@ -62,7 +62,7 @@ export default defineConfig(({ mode }) => {
commonjsOptions: {
transformMixedEsModules: true
},
sourcemap: true
sourcemap: false
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing the sourcemaps is a tradeoff that we need to take at this moment, as building the distributable in vercel is quite impossible.

@@ -38,6 +38,7 @@ import CollectionRow from './CollectionRow'
import { Props, TABS } from './CollectionsPage.types'
import './CollectionsPage.css'

const BUILDER_BANNER_ID = 'builderCampaignBanner'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we move this const to modules/common/types?

@LautaroPetaccio LautaroPetaccio merged commit 70b532c into master Jan 21, 2025
7 checks passed
@LautaroPetaccio LautaroPetaccio deleted the feat/add-campaign-module-and-banners branch January 21, 2025 20:49
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.

2 participants