<commit_before>- Check new layer styles visually
  - Nested layers should have more padding
  - Or maybe push background layers down and always keep the top modal at the same Y: https://atlaskit.atlassian.com/examples/core/modal-dialog/multiple
- Should we keep up.history.popTargets?
  - Should this always reset the world?
  - up.config.root.targets might not be appropriate
  - but the layer targets will always be options after .popTargets
- up.history.replace() is kinda dangerous API
  - the current layer still has the previous URL
- Move up.browser.location to up.history.location
- Have up.layer.build delegate to up.Layer class
- Make sure all Change#execute() functions check if they're still applicable (or if the layer has been removed)
- Allow to pass up.Layer instances as first arguments to up.emit(), up.on(), up.first() and up.all()
  - This requires some more changes than I thought
- Update Rails integration
  - up.layer.accept(value)
  - up.layer.dismiss(value)
  - up.layer.emit(name, props)
  - up.emit(name, props)
- Review up.Request#preflightLayer
  - This should always be set, even for new layers
  - Why is it Request#preflightLayer instead of #layer?
- Emit layer-bound proxy events with up.layer.emit(), not up.emit()
- Present tense events still have long-form event log messages with gerund
- up.layer.lookup and up.layer.lookupAll sound like they would take a value, but they only take an options hash
- up:fragment:inserted should receive the entire document from which the fragment was extracted
- Rename change({ document }) to change({ page })?
- Rename up.element.*fromHtml to ...fromHTML
- Reanem up.util.escapeHtml to up.util.escapeHTML
- I see no up:layer:opened events in the console?
- Check that up.layer forwards getters for all layer properties to stack.current
- Easy way to check that an error is an AbortError
  - We have isAbortError but Request#aborted
  - I think we should just do #aborted because it's easier to check
- Move abortRejection / abortError to up.error
- Opening a new layer should cancel requests that also open a new layer
- Reconsider if it should be .up-overlay (more precise) or .up-layer (shorter and expected)
  - I decided to go with "layer" to not introduce one more term for "overlay", "dialog", etc.
  - We want .up-layer, but keep .up-overlays
  - Re-re-name overlay.sass to layer.sass
- We now have unpoly-bootstrap3 and unpoly-bootstrap4
- Rework logging
  - Remove all groups
  - Distinguish between puts and debug
- Rename { flavor } to { mode }, provide legacy fallbacks
- Better name for up.fragment.config.resetWorld
- Fix unpoly-guide; The fullscreen-mode should just be up-mode="cover"
- Move up.log.sprintf to up.util.sprintf
- ResetWorld should allow other selectors? e.g. up.fragment.config.explodeInto = ['body', '.container']


- Tests
  - Get tests green again
  - Test layer { context } transmission
  - Test that back button closes all layers
  - Test that up.change() can be called with { target: Element }
  - Test that up.change() can be called with { target: Element } and will find in any layer
  - Test that up.change() without { layer } option will only find in current layer
  - Test that clicking on the layer backdrop will cause dismiss on iOS (https://code.makandra.de/makandra/studyflix/commit/cf7d016a1d00797519b709cfcb27423c6adea9d2)
  - Test that [up-dismiss][up-follow] inside a layer will dismiss
  - Test that [up-dismiss][up-follow] outside a layer will follow
  - Test that peeling is not preventable by preventing up:layer:dismiss<commit_msg>Update TODOs<commit_after>- Check new layer styles visually
  - Nested layers should have more padding
  - Or maybe push background layers down and always keep the top modal at the same Y: https://atlaskit.atlassian.com/examples/core/modal-dialog/multiple
- Should we keep up.history.popTargets?
  - Should this always reset the world?
  - up.config.root.targets might not be appropriate
  - but the layer targets will always be options after .popTargets
- up.history.replace() is kinda dangerous API
  - the current layer still has the previous URL
- Move up.browser.location to up.history.location
- Have up.layer.build delegate to up.Layer class
- Make sure all Change#execute() functions check if they're still applicable (or if the layer has been removed)
- Allow to pass up.Layer instances as first arguments to up.emit(), up.on(), up.first() and up.all()
  - This requires some more changes than I thought
- Update Rails integration
  - up.layer.accept(value)
  - up.layer.dismiss(value)
  - up.layer.emit(name, props)
  - up.emit(name, props)
- Review up.Request#preflightLayer
  - This should always be set, even for new layers
  - Why is it Request#preflightLayer instead of #layer?
- Emit layer-bound proxy events with up.layer.emit(), not up.emit()
- Present tense events still have long-form event log messages with gerund
- up.layer.lookup and up.layer.lookupAll sound like they would take a value, but they only take an options hash
- up:fragment:inserted should receive the entire document from which the fragment was extracted
- Rename change({ document }) to change({ page })?
- Rename up.element.*fromHtml to ...fromHTML
- Reanem up.util.escapeHtml to up.util.escapeHTML
- I see no up:layer:opened events in the console?
- Check that up.layer forwards getters for all layer properties to stack.current
- Easy way to check that an error is an AbortError
  - We have isAbortError but Request#aborted
  - I think we should just do #aborted because it's easier to check
- Move abortRejection / abortError to up.error
- Opening a new layer should cancel requests that also open a new layer
- Reconsider if it should be .up-overlay (more precise) or .up-layer (shorter and expected)
  - I decided to go with "layer" to not introduce one more term for "overlay", "dialog", etc.
  - We want .up-layer, but keep .up-overlays
  - Re-re-name overlay.sass to layer.sass
- We now have unpoly-bootstrap3 and unpoly-bootstrap4
- Rework logging
  - Remove all groups
  - Distinguish between puts and debug
- Rename { flavor } to { mode }, provide legacy fallbacks
- Better name for up.fragment.config.resetWorld
- Fix unpoly-guide; The fullscreen-mode should just be up-mode="cover"
- Move up.log.sprintf to up.util.sprintf
- up.fragment.config.fallbackTransition wieder rein?
- up.fragment.config.fallbacks sollte auf up.fragment.config.targets delegieren, oder wir nennen { targets } um auf { fallbacks }
- Layer HTML doch wieder wie früher: .up-modal .up-modal-viewport .up-modal-frame .up-modal-content


- Tests
  - Get tests green again
  - Test layer { context } transmission
  - Test that back button closes all layers
  - Test that up.change() can be called with { target: Element }
  - Test that up.change() can be called with { target: Element } and will find in any layer
  - Test that up.change() without { layer } option will only find in current layer
  - Test that clicking on the layer backdrop will cause dismiss on iOS (https://code.makandra.de/makandra/studyflix/commit/cf7d016a1d00797519b709cfcb27423c6adea9d2)
  - Test that [up-dismiss][up-follow] inside a layer will dismiss
  - Test that [up-dismiss][up-follow] outside a layer will follow
  - Test that peeling is not preventable by preventing up:layer:dismiss
{'fraction_non_alphanumeric': 0.08111811455193203, 'fraction_numerical': 0.00712523979172376, 'mean_word_length': 3.761252446183953, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '199191', 'n_tokens_mistral': 2105, 'n_tokens_neox': 2034, 'n_words': 908}