Skip to content

Commit

Permalink
📝 Docs: Update TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicstop committed Apr 30, 2023
1 parent b249c5e commit 93fd772
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions docs/TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
<br>

- [ ] `TODO:2023-03-08-03-51-37` Impl: `ModalEventListener` Component
* **Desc: Implement `ModalEventListener` dummy component.
* **Desc**: Implement `ModalEventListener` dummy component.
* A dummy component that render nothing.
* Used to listen to modal events via the modal context + modal event emitter ref.
* Complete this after refactor + rename of modal events.
Expand Down Expand Up @@ -182,17 +182,17 @@

- [x] `TODO:2023-03-04-06-34-28` - Library Native Cleanup

* **Desc: Rewrite native to be more readable/consistent.
* **Desc**: Rewrite native to be more readable/consistent.

<br>

* [x] **Subtask** - `TODO:2023-03-24-09-41-16` - Remove `modalLevel`
* **Desc: Remove `RNIModalView.modalLevel`
* **Desc**: Remove `RNIModalView.modalLevel`

<br>

* [x] **Subtask** - `TODO:2023-03-18-09-22-15` - Re-write Modal Focus Checking Logic
* **Desc: Re-write modal "focus checking"
* **Desc**: Re-write modal "focus checking"
* instead of manually keeping track of focus per modal instance (potentially becoming stale over time), check focus via climbing the presented view controller hierarchy.
* ` getPresentedViewControllers().last === self.modalNVC: true`
* ``getPresentedViewControllers.last === self.modalVC false`
Expand All @@ -207,7 +207,7 @@
<br>

* [x] **Subtask** - `TODO:2023-03-22-12-09-34` - Move to `get` property called `synthesizedNativeEventBase`
* **Desc: Refactor `createModalNativeEventDict`.
* **Desc**: Refactor `createModalNativeEventDict`.

<br>

Expand All @@ -220,7 +220,7 @@
<br>

* [x] **Subtask** - `TODO:2023-03-04-15-39-46` Impl: `RNIModalManager`
* **Desc: Implement `RNIModalManager` singleton for handling modal focus/blur logic.
* **Desc**: Implement `RNIModalManager` singleton for handling modal focus/blur logic.
* Modal focus/blur re-write.
* Consolidate focus/blur related logic to this class, This class will be notified whenever a new modal is presented or dismissed.
* It will then be responsible to notify/"hand out" blur/focus events to other modals.
Expand All @@ -235,12 +235,12 @@
<br>

- [x] **Subtask** - `TODO:2023-03-24-09-56-09` - Remove temporary changes to `RNIModalManager`.
* **Desc: Temporarily add changes to `RNIModalManager` so that `RNIModalView` can partially use it while it hasn't finished conforming to all the protocols in `RNIModal`.
* **Desc**: Temporarily add changes to `RNIModalManager` so that `RNIModalView` can partially use it while it hasn't finished conforming to all the protocols in `RNIModal`.

<br>

- [x] **Subtask** - `TODO:2023-03-05-00-32-43` Fix: Edge Case - Modal Focus/Blur Bug
* **Desc: Add code to manually propagate modal blur/focus events.
* **Desc**: Add code to manually propagate modal blur/focus events.
* The modal is being dismissed via calling the modal view controller's dismiss method. As such, the focus/blur event is not being propagated.

<br>
Expand All @@ -263,26 +263,26 @@

- [x] `TODO:2023-03-04-03-59-43` - Re-Write Examples in Typescript

* **Desc: Re-write prev/existing `react-native-ios-modal` examples/tests, and other related code in typescript.
* **Desc**: Re-write prev/existing `react-native-ios-modal` examples/tests, and other related code in typescript.

- [x] **Subtask** - `TODO:2023-03-04-04-39-44` - Import + Re–write Example Components
* **Desc: Import example-related components/utilities from `react-native-ios-context-menu` (i.e. `example/src`) and retrofit it to work in `react-native-ios-modal`'s example project.
* **Desc**: Import example-related components/utilities from `react-native-ios-context-menu` (i.e. `example/src`) and retrofit it to work in `react-native-ios-modal`'s example project.

<br>

- [x] `TODO:2023-03-04-04-20-46` - Library Typescript Re-Write
* **Desc: Re-write `react-native-ios-modal` to support typescript.
* **Desc**: Re-write `react-native-ios-modal` to support typescript.

<br>

- [x] `TODO:2023-03-04-05-25-44` - Library Cleanup

* **Desc: Cleanup library's code to be more understandable.
* **Desc**: Cleanup library's code to be more understandable.

<br>

- [x] **Subtask** - `TODO:2023-03-04-04-20-46` - Library Native Cleanup
* **Desc: Cleanup library's native code - Initial preparation for library overhaul to use `react-native-ios-utilities` as a peer dependency.
* **Desc**: Cleanup library's native code - Initial preparation for library overhaul to use `react-native-ios-utilities` as a peer dependency.

<br><br>

Expand Down

0 comments on commit 93fd772

Please sign in to comment.