Skip to content

Conversation

@Potatomonsta
Copy link
Contributor

@Potatomonsta Potatomonsta commented Jan 12, 2026

Description

Added foundation parser export to parsers.dart

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

Summary by CodeRabbit

  • New Features
    • Expanded public API by making foundation modules directly accessible through the parsers package, enabling broader functionality for library consumers.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 12, 2026

📝 Walkthrough

Walkthrough

The pull request adds a single export statement to the parsers barrel file, re-exporting the foundation module to expand the public API surface. This makes foundation types publicly accessible through the parsers namespace without modifying any existing logic or functionality.

Changes

Cohort / File(s) Summary
API Export
packages/stac/lib/src/parsers/parsers.dart
Adds export for package:stac/src/parsers/foundation/foundation.dart to the parsers barrel file, expanding public API surface by 1 line

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Suggested labels

feature

Poem

🐰 A tiny hop, a simple line,
Foundation's treasures now align,
The barrel opens, exports shine,
Public APIs intertwine! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: adding a foundation parser export to parsers.dart, which matches the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (1)
packages/stac/lib/src/parsers/parsers.dart (1)

6-6: Export syntax is correct; consider alphabetical ordering for consistency.

The foundation.dart export is properly formatted and the file exists. For improved maintainability, consider placing this export in alphabetical order between core and theme.

📜 Review details

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 10bc8d2 and a79141a.

📒 Files selected for processing (1)
  • packages/stac/lib/src/parsers/parsers.dart
🧰 Additional context used
🧠 Learnings (1)
📚 Learning: 2025-12-19T20:20:55.561Z
Learnt from: akhil-ge0rge
Repo: StacDev/stac PR: 399
File: packages/stac/lib/src/parsers/theme/stac_tool_tip_theme_data_parser.dart:9-26
Timestamp: 2025-12-19T20:20:55.561Z
Learning: In Flutter, TooltipThemeData.height is deprecated since v3.30.0-0.1.pre. Replace uses with TooltipThemeData.constraints: BoxConstraints(minHeight: value) to achieve the same minimum height. Apply this pattern to review any Dart/Flutter code that uses TooltipThemeData.height, not just this file.

Applied to files:

  • packages/stac/lib/src/parsers/parsers.dart
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: analyze

@divyanshub024 divyanshub024 merged commit 46d3d2b into dev Jan 12, 2026
6 checks passed
@divyanshub024 divyanshub024 deleted the mn/foundation-import branch January 12, 2026 10:03
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