mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-15 10:35:20 +01:00
UX updates
This commit is contained in:
parent
0bdf2a3e77
commit
a598f08dce
@ -694,5 +694,13 @@
|
|||||||
"shareVaultInfo": {
|
"shareVaultInfo": {
|
||||||
"message": "Create an organization to securely share your logins with other users.",
|
"message": "Create an organization to securely share your logins with other users.",
|
||||||
"description": "Create an organization to securely share your logins with other users."
|
"description": "Create an organization to securely share your logins with other users."
|
||||||
|
},
|
||||||
|
"contribute": {
|
||||||
|
"message": "You can contribute to!",
|
||||||
|
"description": "You can contribute to!"
|
||||||
|
},
|
||||||
|
"learnMore": {
|
||||||
|
"message": "Learn more",
|
||||||
|
"description": "Learn more"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -49,6 +49,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
$scope.lock = function () {
|
$scope.lock = function () {
|
||||||
|
$analytics.eventTrack('Lock Now');
|
||||||
lockService.lock().then(function () {
|
lockService.lock().then(function () {
|
||||||
return $state.go('lock', {
|
return $state.go('lock', {
|
||||||
animation: 'in-slide-up'
|
animation: 'in-slide-up'
|
||||||
|
@ -1,6 +1,14 @@
|
|||||||
angular
|
angular
|
||||||
.module('bit.settings')
|
.module('bit.settings')
|
||||||
|
|
||||||
.controller('settingsCreditsController', function ($scope, i18nService) {
|
.controller('settingsCreditsController', function ($scope, i18nService, $analytics) {
|
||||||
$scope.i18n = i18nService;
|
$scope.i18n = i18nService;
|
||||||
|
|
||||||
|
$scope.learnMore = function () {
|
||||||
|
$analytics.eventTrack('Contribute Learn More');
|
||||||
|
|
||||||
|
chrome.tabs.create({
|
||||||
|
url: 'https://github.com/bitwarden/browser/blob/master/CONTRIBUTING.md'
|
||||||
|
});
|
||||||
|
};
|
||||||
});
|
});
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
$scope.i18n = i18nService;
|
$scope.i18n = i18nService;
|
||||||
$scope.folder = {};
|
$scope.folder = {};
|
||||||
var folderId = $stateParams.folderId;
|
var folderId = $stateParams.folderId;
|
||||||
|
$('#name').focus();
|
||||||
|
|
||||||
folderService.get(folderId, function (folder) {
|
folderService.get(folderId, function (folder) {
|
||||||
$q.when(folder.decrypt()).then(function (model) {
|
$q.when(folder.decrypt()).then(function (model) {
|
||||||
|
@ -26,6 +26,9 @@
|
|||||||
<b>@SW1FT</b> - Portuguese
|
<b>@SW1FT</b> - Portuguese
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="list-section-footer">
|
||||||
|
{{i18n.contribute}} <a href="" ng-click="learnMore()">{{i18n.learnMore}}</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -5,6 +5,8 @@
|
|||||||
i18nService, cryptoService, userService, folderService, loginService) {
|
i18nService, cryptoService, userService, folderService, loginService) {
|
||||||
$scope.i18n = i18nService;
|
$scope.i18n = i18nService;
|
||||||
|
|
||||||
|
$('#master-password').focus();
|
||||||
|
|
||||||
$scope.submitPromise = null;
|
$scope.submitPromise = null;
|
||||||
$scope.submit = function () {
|
$scope.submit = function () {
|
||||||
$scope.submitPromise = checkPassword().then(function () {
|
$scope.submitPromise = checkPassword().then(function () {
|
||||||
|
@ -12,6 +12,8 @@ angular
|
|||||||
folderId: null
|
folderId: null
|
||||||
};
|
};
|
||||||
|
|
||||||
|
$('#name').focus();
|
||||||
|
|
||||||
if ($stateParams.login) {
|
if ($stateParams.login) {
|
||||||
angular.extend($scope.login, $stateParams.login);
|
angular.extend($scope.login, $stateParams.login);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user