Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
f2f8db8
AppHeader React Migration
ranbena Oct 15, 2019
4bd3461
Fixed tests
ranbena Oct 15, 2019
91b3ab9
Fixed test
ranbena Oct 15, 2019
e55125f
Responsive layout
ranbena Oct 15, 2019
a3aa95b
Better url templating code
ranbena Oct 15, 2019
8b5ea0c
Merge branch 'master' into app-header
ranbena Oct 15, 2019
ad2f19c
Fixed header height
ranbena Oct 15, 2019
962c631
Fixed header height
ranbena Oct 15, 2019
b0c2894
Mobile version
ranbena Oct 15, 2019
536d0da
Removed remaining old files
ranbena Oct 15, 2019
9115e9a
Changed menu item hover bg color
ranbena Oct 15, 2019
2d25cd3
Fixed button click area
ranbena Oct 15, 2019
fc5a9f5
Caret rotate animation
ranbena Oct 15, 2019
66fc55a
Fixed comments from Gabriel
ranbena Oct 15, 2019
7b3fbf7
Fixed test
ranbena Oct 15, 2019
4508544
Darkened text color
ranbena Oct 15, 2019
a64dfe9
Style change for favorite dropdown
ranbena Oct 15, 2019
1c2904a
Alignment adjustments
ranbena Oct 16, 2019
426e0c1
Fixed hover colors
ranbena Oct 16, 2019
bedfa07
Merge branch 'master' into app-header
ranbena Oct 16, 2019
a50af02
Changed onClick to onMouseUp for “New Dashboard”
ranbena Oct 16, 2019
8f6d290
Removed navbar.less (bye bye ANGULAR_REMOVE_ME!)
ranbena Oct 16, 2019
35e1f5d
Added remaining permission conditions
ranbena Oct 16, 2019
2f749d2
Fixed .headless
ranbena Oct 16, 2019
853eca3
Touch up for “no faves” state
ranbena Oct 16, 2019
97bb08e
Last fixes before publish
ranbena Oct 16, 2019
c76a2c9
Renamed DropdownFavorites
ranbena Oct 16, 2019
ef77bef
Less jumpy item rendering
ranbena Oct 16, 2019
275c660
Swapped navigateTo for href
ranbena Oct 16, 2019
eec5e3e
Merge remote-tracking branch 'origin/master' into app-header
ranbena Oct 17, 2019
dca65c7
Improved layout responsiveness
ranbena Oct 17, 2019
fdd2f05
Update client/app/components/app-header/components/FavoritesDropdown.jsx
ranbena Oct 18, 2019
acce095
Update client/app/components/app-header/AppHeader.jsx
ranbena Oct 18, 2019
bf2306e
react2angular removed from HelpTrigger
ranbena Oct 18, 2019
82834b7
Renamed Desktop/Mobile, fixed substring syntax
ranbena Oct 18, 2019
816da58
Added cache bust to fetchItems
ranbena Oct 18, 2019
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
1 change: 1 addition & 0 deletions client/app/assets/less/ant.less
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
@zindex-dropdown: 2050;
@zindex-picker: 2050;
@zindex-tooltip: 2060;
@item-hover-bg: #e5f8ff;

.@{drawer-prefix-cls} {
&.help-drawer {
Expand Down
4 changes: 2 additions & 2 deletions client/app/assets/less/inc/base.less
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ body {
padding-top: 10px;
}

.nav.app-header, .navbar {
.app-header-wrapper {
display: none;
}
}
Expand Down Expand Up @@ -182,7 +182,7 @@ text.slicetext {
color: #111;
}

.profile__image--navbar {
.profile__image--sidebar {
border-radius: 100%;
margin-right: 3px;
margin-top: -2px;
Expand Down
295 changes: 0 additions & 295 deletions client/app/assets/less/inc/navbar.less

This file was deleted.

1 change: 0 additions & 1 deletion client/app/assets/less/main.less
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
@import 'inc/profile';
@import 'inc/404';
@import 'inc/ie-warning';
@import 'inc/navbar';
@import 'inc/edit-in-place';
@import 'inc/growl';
@import 'inc/flex';
Expand Down
2 changes: 1 addition & 1 deletion client/app/components/BeaconConsent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Card from 'antd/lib/card';
import Button from 'antd/lib/button';
import Typography from 'antd/lib/typography';
import { clientConfig } from '@/services/auth';
import { HelpTrigger } from '@/components/HelpTrigger';
import HelpTrigger from '@/components/HelpTrigger';
import DynamicComponent from '@/components/DynamicComponent';
import OrgSettings from '@/services/organizationSettings';

Expand Down
2 changes: 1 addition & 1 deletion client/app/components/CreateSourceDialog.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { PreviewCard } from '@/components/PreviewCard';
import EmptyState from '@/components/items-list/components/EmptyState';
import DynamicForm from '@/components/dynamic-form/DynamicForm';
import helper from '@/components/dynamic-form/dynamicFormHelper';
import { HelpTrigger, TYPES as HELP_TRIGGER_TYPES } from '@/components/HelpTrigger';
import HelpTrigger, { TYPES as HELP_TRIGGER_TYPES } from '@/components/HelpTrigger';

const { Step } = Steps;
const { Search } = Input;
Expand Down
2 changes: 1 addition & 1 deletion client/app/components/EmailSettingsWarning.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import cx from 'classnames';
import { clientConfig, currentUser } from '@/services/auth';
import Tooltip from 'antd/lib/tooltip';
import Alert from 'antd/lib/alert';
import { HelpTrigger } from '@/components/HelpTrigger';
import HelpTrigger from '@/components/HelpTrigger';

export default function EmailSettingsWarning({ featureName, className, mode, adminOnly }) {
if (!clientConfig.mailSettingsMissing) {
Expand Down
13 changes: 5 additions & 8 deletions client/app/components/HelpTrigger.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { react2angular } from 'react2angular';
import React from 'react';
import PropTypes from 'prop-types';
import cx from 'classnames';
Expand Down Expand Up @@ -80,9 +79,13 @@ export const TYPES = {
'/user-guide/alerts/custom-alert-notifications',
'Guide: Custom Alerts Notifications',
],
FAVORITES: [
'/user-guide/querying/favorites-tagging/#Favorites',
'Guide: Favorites',
],
};

export class HelpTrigger extends React.Component {
export default class HelpTrigger extends React.Component {
static propTypes = {
type: PropTypes.oneOf(Object.keys(TYPES)).isRequired,
className: PropTypes.string,
Expand Down Expand Up @@ -236,9 +239,3 @@ export class HelpTrigger extends React.Component {
);
}
}

export default function init(ngModule) {
ngModule.component('helpTrigger', react2angular(HelpTrigger));
}

init.init = true;
2 changes: 1 addition & 1 deletion client/app/components/ParameterMappingInput.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import Tooltip from 'antd/lib/tooltip';
import ParameterValueInput from '@/components/ParameterValueInput';
import { ParameterMappingType } from '@/services/widget';
import { Parameter } from '@/services/query';
import { HelpTrigger } from '@/components/HelpTrigger';
import HelpTrigger from '@/components/HelpTrigger';

import './ParameterMappingInput.less';

Expand Down
Loading