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

fix failing e2e #2185

Merged
merged 8 commits into from
Jan 22, 2025
Merged

fix failing e2e #2185

merged 8 commits into from
Jan 22, 2025

Conversation

petrjasek
Copy link
Member

Front-end checklist

  • This pull request is adding missing TypeScript types to modified code segments where it's easy to do so with confidence
  • This pull request is using TypeScript interfaces instead of prop-types and updates usages where it's quick to do so
  • This pull request is using memo or PureComponent to define new React components (and updates existing usages in modified code segments)
  • This pull request is replacing lodash.get with optional chaining and nullish coalescing for modified code segments
  • This pull request is not importing anything from client-core directly (use superdeskApi)
  • This pull request is importing UI components from superdesk-ui-framework and superdeskApi when possible instead of using ones defined in this repository.
  • This pull request is not using planningApi where it is possible to use superdeskApi
  • This pull request is not adding redux based modals
  • In this pull request, properties of redux state are not being passed as props to components; instead, we connect it to the component that needs them. Except components where using a react key is required - do not connect those due to performance reasons.
  • This pull request is not adding redux actions that do not modify state (e.g. only calling angular services; those should be moved to planningApi)

@petrjasek petrjasek requested a review from devketanpro January 20, 2025 07:24
@petrjasek petrjasek added this to the 2.8.5 milestone Jan 20, 2025
@petrjasek petrjasek requested a review from MarkLark86 January 20, 2025 08:40
import {gettext} from 'core/utils';

export const ActionBar: React.FunctionComponent<any> = ({svc, readOnly, dirty, valid, onSave, onCancel}) => (
<div className="action-bar show">
Copy link
Collaborator

Choose a reason for hiding this comment

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

@fritzSF @tomaskikutis Are there components in the UI Framework that can be used here instead of this?

Copy link
Member

Choose a reason for hiding this comment

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

There is subnav that might be similar, but if existing one works without issues I won't be spending time to replace it.

import {gettext} from 'core/utils';

export const ActionBar: React.FunctionComponent<any> = ({svc, readOnly, dirty, valid, onSave, onCancel}) => (
<div className="action-bar show">
Copy link
Member

Choose a reason for hiding this comment

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

There is subnav that might be similar, but if existing one works without issues I won't be spending time to replace it.

@petrjasek petrjasek merged commit 98ebc6d into superdesk:release/2.8 Jan 22, 2025
10 checks passed
@petrjasek petrjasek deleted the fix-failing-e2e branch January 22, 2025 09:27
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