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: prepare release version 0.6.0 #33

Merged
merged 14 commits into from
Sep 26, 2023
Merged

feat: prepare release version 0.6.0 #33

merged 14 commits into from
Sep 26, 2023

Conversation

ryanaidilp
Copy link
Owner

Status

READY

Description

This PR includes the following changes:

  • Added subject category entity.
  • Added subject category repository contract.
  • Added use case to get all subject categories.
  • Added subject category model.
  • Added subject category remote data source.
  • Added subject category repository implementation.
  • Added subject category feature export.
  • Added subject entity.
  • Added subject repository contract.
  • Added use case to get all subjects.
  • Added subject model.
  • Added subject remote data source.
  • Added subject repository implementation.
  • Added subject feature export.
  • Added press release entity.
  • Added press release repository.
  • Added use cases to get list and detail of press releases.
  • Added press release model.
  • Added press release remote data source.
  • Added press release repository implementation.
  • Added press release feature export.
  • Added example pages for subject, subject category, and press release.
  • Added routes for subject, subject category, and press release.
  • Added press release card in the example.
  • Added fixtures for subject category, subject list, and press release.
  • Added unit tests for subject category use case.
  • Added unit tests for subject use case.
  • Added unit tests for press release use case.
  • Added unit tests for API endpoints.
  • Added unit tests for data layer of subject category.
  • Added unit tests for subject remote data source.
  • Added unit tests for subject repository implementation.
  • Added unit tests for press release data source.
  • Added unit tests for press release repository implementation.
  • Refactored exception classes.
  • Removed dead code from the repository.
  • Updated test names and added missing tests for domain and publication models.
  • Renamed infographic endpoint and added a new endpoint.
  • Added tests for the static table endpoint.
  • Created the StaticTable entity, repository contract, use case, and model.
  • Optimized code import and file export.
  • Added exceptions and failures for the static table feature.
  • Created a table serializer.
  • Added tests for the static table model, remote data source, and repository implementation.
  • Integrated the static table feature into list and view.
  • Updated static table property documentation.
  • Added fixtures and tests for static tables.
  • Implemented unit tests for the static table use case and repository.
  • Added teardown steps to all unit tests.
  • Fixed analyzer issues.
  • Fixed unused page in the example app.
  • Fixed the UI of the publication example.
  • Fixed the STADATA exception class to be a normal class.
  • Fixed exception handling in the HTTP module.

View Pull Request

Type of Change

  • ✨ New feature (non-breaking change which adds functionality)
  • 🛠️ Bug fix (non-breaking change which fixes an issue)
  • ❌ Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactor
  • ✅ Build configuration change
  • 📝 Documentation
  • 🗑️ Chore

* feat(entity): create subject category entity

* feat(repository): create subject category repository contract

* feat(usecase): create get all subject categories usecase

* feat(model): create subject category model

* feat(datasource): create subject category remote data source

* feat(repository): create subject category repository impl

* feat(features): add subject categories feature export

* feat(entity): create subject entity

* feat(repository): craete subject repository contract

* feat(usecase): create get all subjects usecase

* feat(model): create subject model

* feat(datasource): create subject remote data source

* feat(repository): create subject repository implementation

* feat(features): create subject feature export

* feat(core): add exception, failure, and endpoint

* feat(serializer): create abstract serializer

* feat(entity): create press release entity

* feat(repository): create press release repository

* feat(usecases): create usecase to get list and detail of press rel

* feat(model): create press release model

* feat(datasource): create press release remote datasource

* feat(repository): create press release repository impl

* feat(features): add press release feature export

* feat(features): add subject categories, subject, and press release

* feat(list): add subject categories, subjects, & press releases

* feat(detail): add press release detail

* build(di): run buiild runner

* feat(example): create press release card

* feat(example): add example for subject, subject category, & press

* feat(example): add route for subject, subject category, & press

* feat(example): fix some minor bug

* test(fixtures): add subject category fixture

* test(usecase): add get all subject category usecase

* test(fixture): create fixture for subject list

* test(usecase): create test for get all subjects

* test(fixture): add fixture for press release

* test(usecase): add usecase to get all press release and detail

* test(core): add unit test for api endpoint

* test(data): write unit test for data layer of subject category

* test(datasource): create unit test for subject remote data source

* test(repository): add unit test for subject repository impl

* test(datasource): add unit test for press release data source

* test(repository): add press release repository impl test

* test(features): add unit test to stadata list and stadata view

* refactor(models): fix analysis issue

* ci(workflow): update workflow files

* style(code): run dart format
@ryanaidilp ryanaidilp added documentation Improvements or additions to documentation enhancement New feature or request labels Sep 26, 2023
@ryanaidilp ryanaidilp self-assigned this Sep 26, 2023
@codecov-commenter
Copy link

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (d134410) 99.70% compared to head (50d096f) 99.79%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #33      +/-   ##
==========================================
+ Coverage   99.70%   99.79%   +0.08%     
==========================================
  Files          49       68      +19     
  Lines         677      969     +292     
==========================================
+ Hits          675      967     +292     
  Misses          2        2              
Files Coverage Δ
lib/src/core/exceptions/exceptions.dart 100.00% <100.00%> (ø)
lib/src/core/failures/failures.dart 100.00% <100.00%> (ø)
lib/src/core/network/api_endpoint.dart 98.46% <100.00%> (+0.54%) ⬆️
...network/http/interceptors/logging_interceptor.dart 100.00% <100.00%> (ø)
.../datasources/press_release_remote_data_source.dart 100.00% <100.00%> (ø)
...ress_releases/data/models/press_release_model.dart 100.00% <100.00%> (ø)
...ta/repositories/press_release_repository_impl.dart 100.00% <100.00%> (ø)
.../press_releases/domain/entities/press_release.dart 100.00% <100.00%> (ø)
...leases/domain/usecases/get_all_press_releases.dart 100.00% <100.00%> (ø)
...ases/domain/usecases/get_detail_press_release.dart 100.00% <100.00%> (ø)
... and 12 more

... and 2 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ryanaidilp ryanaidilp merged commit a015c5b into main Sep 26, 2023
5 checks passed
@ryanaidilp ryanaidilp deleted the release/0.6.0 branch September 26, 2023 06:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants