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 v2 #343

Closed
wants to merge 32 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
cbb68e7
feat(framework): Updated version of UI framework
pavlovicnemanja Jun 1, 2023
540d22a
fix(publishing): Fixed issue with publishing page
pavlovicnemanja Jun 2, 2023
ac89edd
fix(subnav): Fixed issue with subnav
pavlovicnemanja Jun 13, 2023
461cf96
fix(radio): Fixed issue with radio group
pavlovicnemanja Jun 13, 2023
f27b827
feat(fb): Removed FBIA from publisher
pavlovicnemanja Jun 22, 2023
b878cdd
feat(seo): Changed seo value to envolvedFrom
pavlovicnemanja Jun 22, 2023
af8866d
feat(fba): Remove FBA from multiple places
pavlovicnemanja Jun 22, 2023
870aed6
feat(fba): Remove fba for one more space
pavlovicnemanja Jun 22, 2023
f01b52c
feat(seo): Changed saveMetadata url
pavlovicnemanja Jun 22, 2023
f445881
saveMetaData to guid
IvanJelicSF Jun 22, 2023
f94320d
Layout and Dark theme fixes
fritzSF Jul 4, 2023
91bd266
framework version bump
fritzSF Jul 4, 2023
9f210ec
Merge pull request #339 from fritzSF/develop
pavlovicnemanja Jul 5, 2023
b949425
fix(theme): Fixed dark theme
pavlovicnemanja Aug 1, 2023
f1fe2e3
Merge pull request #340 from pavlovicnemanja/develop
pavlovicnemanja Aug 1, 2023
654c5b3
fix(lists): Fixed content lists ordering
pavlovicnemanja Aug 5, 2023
a09fc4c
feat(UI): Applied UI Fixes
pavlovicnemanja Aug 5, 2023
c3a1779
feat(logo, spinner): Fixed issue with spinner and added dark logo
pavlovicnemanja Aug 5, 2023
4f28980
fix(package): Fixed issue with version of ui framework
pavlovicnemanja Aug 5, 2023
3b66fec
feat(ui-framework): Updated version of ui framework
pavlovicnemanja Aug 6, 2023
642621d
feat(dropdowns): Improvements on dropdown components
pavlovicnemanja Aug 14, 2023
7bc827f
fix(list): Fixed automatic/manual lists
pavlovicnemanja Aug 15, 2023
42edf51
fix(MultiSelect): Fixed metadata multiselect
pavlovicnemanja Aug 15, 2023
fa8182a
feat(list): Updated lists UI
pavlovicnemanja Aug 15, 2023
a0bb939
feat(spacing): Fixed spacing in filter panel
pavlovicnemanja Aug 15, 2023
3e303d8
fix(multiselect): Fixed issue with multiselect
pavlovicnemanja Sep 15, 2023
8ea4c0d
fix(automatic): Fixed filer panel on automatic lists
pavlovicnemanja Sep 15, 2023
9091b87
fix(dropdown): Fixed issue with background on dropdown
pavlovicnemanja Sep 22, 2023
32b01fe
feat(website): Added improved UI website
pavlovicnemanja Sep 22, 2023
04a83e6
fix(state): Removed unused state items
pavlovicnemanja Sep 22, 2023
12a05bf
Fix authoring react publisher fixes
thecalcc Oct 31, 2023
6dfab1d
Fix v2. Remove absolute elements
thecalcc Nov 1, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(dropdown): Fixed issue with background on dropdown
pavlovicnemanja committed Sep 22, 2023
commit 9091b8777c71152371410eec511c0f26e57c4c63
28 changes: 12 additions & 16 deletions client/components/TargetedPublishing/AddWebsite.jsx
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ import React from "react";
import axios from "axios";
import PropTypes from "prop-types";

import { Button } from "superdesk-ui-framework/react";
import { Button, Select, Option } from "superdesk-ui-framework/react";

class AddWebsite extends React.Component {
constructor(props) {
@@ -48,7 +48,6 @@ class AddWebsite extends React.Component {
let styles = {
addWebsiteDropdown: {
boxSizing: "border-box",
background: "#fff",
marginTop: "10px",
maxHeight: 0,
overflow: "hidden",
@@ -84,20 +83,17 @@ class AddWebsite extends React.Component {
/>
)}
<div style={styles.addWebsiteDropdown} data-testid="dropdown">
<div style={{ padding: "1.5rem" }}>
<h3 className="tp-dropdown-heading">Add Website</h3>
<ul className="simple-list--dotted simple-list">
{remainingSites.map((site) => (
<li
key={site.id}
className="simple-list__item tp-dropdown-li"
onClick={() => this.addDestination(site)}
>
{site.name}
</li>
))}
</ul>
</div>
<Select
label="Add website"
value={this.state.value}
onChange={(value) => {
this.addDestination(value)
}}
>
{remainingSites.map((site) => (
<Option>{site.name}</Option>
))};
</Select>
</div>
</React.Fragment>
);