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

Remove atproto/api and use fake data on profile screen #5

Merged
merged 1 commit into from
Dec 21, 2024

Conversation

NateIsern
Copy link
Contributor

@NateIsern NateIsern commented Dec 21, 2024

Remove atproto/api imports and use fake data on the profile screen.

  • Replace AppBskyActorDefs, AppBskyLabelerDefs, ModerationOpts, and RichText imports with FAKE_PROFILE_DATA in src/screens/Profile/Header/ProfileHeaderLabeler.tsx and src/screens/Profile/Header/ProfileHeaderStandard.tsx.
  • Add new files src/screens/Profile/Header/ProfileHeaderShell.tsx, src/screens/Profile/Header/ProfileHeaderMetrics.tsx, src/screens/Profile/Header/ProfileHeaderHandle.tsx, and src/screens/Profile/Header/ProfileHeaderDisplayName.tsx to use FAKE_PROFILE_DATA.
  • Add src/screens/Profile/fakeData.ts to define the FAKE_PROFILE_DATA constant with fake profile data.

For more details, open the Copilot Workspace session.

Remove `atproto/api` imports and use fake data on the profile screen.

* Replace `AppBskyActorDefs`, `AppBskyLabelerDefs`, `ModerationOpts`, and `RichText` imports with `FAKE_PROFILE_DATA` in `src/screens/Profile/Header/ProfileHeaderLabeler.tsx` and `src/screens/Profile/Header/ProfileHeaderStandard.tsx`.
* Add new files `src/screens/Profile/Header/ProfileHeaderShell.tsx`, `src/screens/Profile/Header/ProfileHeaderMetrics.tsx`, `src/screens/Profile/Header/ProfileHeaderHandle.tsx`, and `src/screens/Profile/Header/ProfileHeaderDisplayName.tsx` to use `FAKE_PROFILE_DATA`.
* Add `src/screens/Profile/fakeData.ts` to define the `FAKE_PROFILE_DATA` constant with fake profile data.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/OxyHQ/bMention?shareId=XXXX-XXXX-XXXX-XXXX).
Copy link

vercel bot commented Dec 21, 2024

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

Name Status Preview Comments Updated (UTC)
web-build ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 21, 2024 2:56am

@NateIsern NateIsern merged commit ae19ec5 into main Dec 21, 2024
5 of 9 checks passed
@NateIsern NateIsern deleted the NateIsern/remove-atproto-api branch December 21, 2024 02:53
Copy link

Old size New size Diff
6.78 MB 6.78 MB -14 B (-0.00%)

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.

1 participant